Changeset 1467
- Timestamp:
- 08/10/04 19:57:23 (4 years ago)
- Files:
-
- WiredClient/trunk/WCConnection.h (modified) (2 diffs)
- WiredClient/trunk/WCConnection.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredClient/trunk/WCConnection.h
r1429 r1467 1 /* $Id: WCConnection.h,v 1.1 8 2004/08/06 19:17:39morris Exp $ */1 /* $Id: WCConnection.h,v 1.19 2004/08/10 17:57:23 morris Exp $ */ 2 2 3 3 /* … … 138 138 #define WCConnectionGotServerInfo @"WCConnectionGotServerInfo" 139 139 #define WCConnectionServerInfoDidChange @"WCConnectionServerInfoDidChange" 140 #define WCConnectionGotServerBanner @"WCConnectionGotServerBanner" 141 #define WCConnectionServerBannerDidChange @"WCConnectionServerBannerDidChange" 140 142 #define WCConnectionGotPrivileges @"WCConnectionGotPrivileges" 141 143 #define WCConnectionPrivilegesDidChange @"WCConnectionPrivilegesDidChange" WiredClient/trunk/WCConnection.m
r1455 r1467 1 /* $Id: WCConnection.m,v 1.2 7 2004/08/09 21:09:40morris Exp $ */1 /* $Id: WCConnection.m,v 1.28 2004/08/10 17:57:23 morris Exp $ */ 2 2 3 3 /* … … 238 238 // --- get uid 239 239 _uid = [uid intValue]; 240 241 // --- ping at intervals 242 _timer = [NSTimer scheduledTimerWithTimeInterval:60.0 243 target:self 244 selector:@selector(pingTimer:) 245 userInfo:NULL 246 repeats:YES]; 247 [_timer retain]; 240 248 } 241 249 … … 605 613 _connected = YES; 606 614 607 // --- ping at intervals608 _timer = [NSTimer scheduledTimerWithTimeInterval:60609 target:self610 selector:@selector(pingTimer:)611 userInfo:NULL612 repeats:YES];613 [_timer retain];614 615 615 // --- initial login 616 616 [self sendCommand:WCHelloCommand withSender:self];
