]>
Dogcows Code - chaz/thecheat/blob - ServerHolder.h
2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 // File: ServerHolder.h
6 // Created: Sun Sep 28 2003
8 // Copyright: 2003 Chaz McGarvey. All rights reserved.
9 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 #import <Cocoa/Cocoa.h>
17 @interface ServerHolder
: NSObject
19 NSConnection
*connection
;
27 + (ServerHolder
*)holderWithConnection
:(NSConnection
*)conn socket
:(int)sock
;
28 - (id
)initWithConnection
:(NSConnection
*)conn socket
:(int)sock
;
30 - (NSConnection
*)connection
;
31 - (void)setConnection
:(NSConnection
*)conn
;
32 - (CheatServer
*)server
;
33 - (void)setServer
:(CheatServer
*)serv
;
35 - (void)setSockFD
:(int)sock
;
37 - (NSString
*)address
;
38 - (void)setAddress
:(NSString
*)addr
;
40 - (void)setAction
:(NSString
*)act
;
This page took 0.038636 seconds and 5 git commands to generate.