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@26: #import "BLIPConnection.h" jens@26: @class MYBonjourBrowser; jens@3: jens@3: jens@26: @interface BLIPEchoClient : NSObject jens@3: { jens@3: IBOutlet NSTextField * inputField; jens@3: IBOutlet NSTextField * responseField; jens@3: IBOutlet NSTableView * serverTableView; jens@3: jens@26: MYBonjourBrowser * _serviceBrowser; jens@3: BLIPConnection *_connection; jens@3: } jens@3: jens@26: @property (readonly) MYBonjourBrowser *serviceBrowser; jens@26: @property (readonly) NSArray *serviceList; jens@3: jens@26: - (IBAction)serverClicked:(id)sender; jens@3: - (IBAction)sendText:(id)sender; jens@3: jens@3: @end