Mark Slee | 77575e6 | 2007-09-24 19:24:53 +0000 | [diff] [blame] | 1 | #import <Cocoa/Cocoa.h> |
| 2 | #import "TProtocolFactory.h" |
| 3 | #import "TProcessor.h" |
| 4 | |
| 5 | |
| 6 | @interface TSocketServer : NSObject { |
| 7 | NSSocketPort * mServerSocket; |
| 8 | NSFileHandle * mSocketFileHandle; |
| 9 | id <TProtocolFactory> mInputProtocolFactory; |
| 10 | id <TProtocolFactory> mOutputProtocolFactory; |
| 11 | id <TProcessor> mProcessor; |
| 12 | } |
| 13 | |
| 14 | - (id) initWithPort: (int) port |
| 15 | protocolFactory: (id <TProtocolFactory>) protocolFactory |
| 16 | processor: (id <TProcessor>) processor; |
| 17 | |
| 18 | @end |
| 19 | |
| 20 | |
| 21 | |