]> Dogcows Code - chaz/thecheat/blob - ServerHolder.h
The Cheat 1.1.1
[chaz/thecheat] / ServerHolder.h
1
2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 // Project: The Cheat
4 //
5 // File: ServerHolder.h
6 // Created: Sun Sep 28 2003
7 //
8 // Copyright: 2003 Chaz McGarvey. All rights reserved.
9 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
11 #import <Cocoa/Cocoa.h>
12
13
14 @class CheatServer;
15
16
17 @interface ServerHolder : NSObject
18 {
19 NSConnection *connection;
20 CheatServer *server;
21 int sockfd;
22
23 NSString *address;
24 NSString *action;
25 }
26
27 + (ServerHolder *)holderWithConnection:(NSConnection *)conn socket:(int)sock;
28 - (id)initWithConnection:(NSConnection *)conn socket:(int)sock;
29
30 - (NSConnection *)connection;
31 - (void)setConnection:(NSConnection *)conn;
32 - (CheatServer *)server;
33 - (void)setServer:(CheatServer *)serv;
34 - (int)sockfd;
35 - (void)setSockFD:(int)sock;
36
37 - (NSString *)address;
38 - (void)setAddress:(NSString *)addr;
39 - (NSString *)action;
40 - (void)setAction:(NSString *)act;
41
42 @end
This page took 0.030014 seconds and 4 git commands to generate.