BLIP/Demo/BLIPEchoClient.h
author Jens Alfke <jens@mooseyard.com>
Sat May 24 21:26:09 2008 -0700 (2008-05-24)
changeset 3 76f302097a75
child 4 2bd9d60a2c46
permissions -rw-r--r--
Added a BLIP port of Apple's "CocoaEcho" sample code.
     1 //
     2 //  BLIPEchoClient.h
     3 //  MYNetwork
     4 //
     5 //  Created by Jens Alfke on 5/24/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //  Adapted from Apple sample code "CocoaEcho".
     8 //
     9 
    10 #import <Cocoa/Cocoa.h>
    11 @class BLIPConnection;
    12 
    13 
    14 @interface BLIPEchoClient : NSObject
    15 {
    16     IBOutlet NSTextField * inputField;
    17     IBOutlet NSTextField * responseField;
    18     IBOutlet NSTableView * serverTableView;
    19     
    20     NSNetServiceBrowser * _serviceBrowser;
    21     NSMutableArray * _serviceList;
    22     NSNetService *_resolvingService;
    23     BLIPConnection *_connection;
    24 }
    25 
    26 @property (readonly) NSMutableArray *serviceList;
    27 
    28 - (IBAction)sendText:(id)sender;
    29 
    30 @end