#import @interface Communicator : NSObject { @public NSString *host; int port; } - (void)setup; - (void)open; - (void)close; - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)event; - (void)readIn:(NSString *)s; - (void)writeOut:(NSString *)s; @end