jens@3: // jens@3: // BLIPEchoClient.h jens@3: // MYNetwork jens@3: // jens@3: // Created by Jens Alfke on 5/24/08. jens@3: // Copyright 2008 Jens Alfke. All rights reserved. jens@4: // Adapted from Apple sample code "CocoaEcho": jens@4: // http://developer.apple.com/samplecode/CocoaEcho/index.html jens@3: // jens@3: jens@3: #import jens@3: @class BLIPConnection; jens@3: jens@3: jens@3: @interface BLIPEchoClient : NSObject jens@3: { jens@3: IBOutlet NSTextField * inputField; jens@3: IBOutlet NSTextField * responseField; jens@3: IBOutlet NSTableView * serverTableView; jens@3: jens@3: NSNetServiceBrowser * _serviceBrowser; jens@3: NSMutableArray * _serviceList; jens@7: jens@3: BLIPConnection *_connection; jens@3: } jens@3: jens@3: @property (readonly) NSMutableArray *serviceList; jens@3: jens@3: - (IBAction)sendText:(id)sender; jens@3: jens@3: @end