blob: 4b8e8d078c61072eba98108d1cab92c1cbdfc7d3 [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