mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-24 12:11:48 +00:00
35 lines
898 B
C
35 lines
898 B
C
|
|
||
|
@interface ClientInfo : NSObject
|
||
|
{
|
||
|
id<CmdClient> theServer;
|
||
|
id obj;
|
||
|
NSString *name;
|
||
|
NSDate *lastUnanswered; /* Last unanswered ping. */
|
||
|
unsigned fwdSequence; /* Last ping sent TO client. */
|
||
|
unsigned revSequence; /* Last gnip sent BY client. */
|
||
|
NSMutableSet *files; /* Want update info for these. */
|
||
|
NSData *config; /* Config info for client. */
|
||
|
BOOL pingOk;
|
||
|
BOOL transient;
|
||
|
BOOL unregistered;
|
||
|
}
|
||
|
- (NSComparisonResult) compare: (ClientInfo*)other;
|
||
|
- (NSData*) config;
|
||
|
- (NSMutableSet*) files;
|
||
|
- (BOOL) gnip: (unsigned)seq;
|
||
|
- (id) initFor: (id)obj
|
||
|
name: (NSString*)n
|
||
|
with: (id<CmdClient>)svr;
|
||
|
- (NSDate*) lastUnanswered;
|
||
|
- (NSString*) name;
|
||
|
- (id) obj;
|
||
|
- (void) ping;
|
||
|
- (void) setConfig: (NSData*)c;
|
||
|
- (void) setName: (NSString*)n;
|
||
|
- (void) setObj: (id)o;
|
||
|
- (void) setTransient: (BOOL)flag;
|
||
|
- (void) setUnregistered: (BOOL)flag;
|
||
|
- (BOOL) transient;
|
||
|
@end
|
||
|
|