diff options
Diffstat (limited to 'Source/CMMCPConnection.h')
-rw-r--r-- | Source/CMMCPConnection.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/CMMCPConnection.h b/Source/CMMCPConnection.h index 3a6b4016..a9b2554e 100644 --- a/Source/CMMCPConnection.h +++ b/Source/CMMCPConnection.h @@ -49,6 +49,9 @@ NSString *connectionHost; int connectionPort; NSString *connectionSocket; + + NSTimer *keepAliveTimer; + NSDate *lastKeepAliveSuccess; } - (id) init; @@ -65,5 +68,9 @@ - (void) setDelegate:(id)object; - (NSTimeZone *) timeZone; - (BOOL) pingConnection; +- (void) startKeepAliveTimerResettingState:(BOOL)resetState; +- (void) stopKeepAliveTimer; +- (void) keepAlive:(NSTimer *)theTimer; +- (void) threadedKeepAlive; @end |