blob: 2ab21c72c76a287ce74f507afcd28d1b00ba1bd4 [file] [log] [blame]
#import <Cocoa/Cocoa.h>
#import "TProtocolFactory.h"
#import "TProcessor.h"
@interface TSocketServer : NSObject {
NSSocketPort * mServerSocket;
NSFileHandle * mSocketFileHandle;
id <TProtocolFactory> mInputProtocolFactory;
id <TProtocolFactory> mOutputProtocolFactory;
id <TProcessor> mProcessor;
}
- (id) initWithPort: (int) port
protocolFactory: (id <TProtocolFactory>) protocolFactory
processor: (id <TProcessor>) processor;
@end