Changeset 200
- Timestamp:
- 03/23/06 08:37:50 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
feedtree/trunk/src/net/feedtree/core/client/Client.java
r189 r200 125 125 public static final int STATUS_NOT_STARTED = 0; 126 126 public static final int STATUS_STARTING = 1; 127 public static final int STATUS_RETRYING = 2; 127 128 public static final int STATUS_RUNNING = 1000; 128 129 public static final int STATUS_ERROR = -1; … … 343 344 } catch (java.io.StreamCorruptedException exc) { 344 345 Logger.global.severe("Stream corruption error while finding bootstrap. Sleeping and trying again."); 345 status.notifyStatus(ClientStatus.STATUS_ ERROR,346 status.notifyStatus(ClientStatus.STATUS_RETRYING, 346 347 "Network error; re-trying"); 347 348 … … 404 405 Logger.global.info("[Failed to bootstrap node into network after 60 sec. Scrapping node and re-starting in 5-15 sec.]"); 405 406 406 status.notifyStatus(ClientStatus.STATUS_ ERROR,407 status.notifyStatus(ClientStatus.STATUS_RETRYING, 407 408 "Failed to connect; re-trying shortly"); 408 409 … … 425 426 } 426 427 427 status.notifyStatus(ClientStatus.STATUS_ STARTING,428 status.notifyStatus(ClientStatus.STATUS_RUNNING, 428 429 "FeedTree client ready"); 429 430
