BLIP/Demo/BLIPEchoClient.h
author Jens Alfke <jens@mooseyard.com>
Sun May 25 12:32:47 2008 -0700 (2008-05-25)
changeset 5 2c4bb6968927
parent 3 76f302097a75
child 7 5936db2c1987
permissions -rw-r--r--
More documentation.
     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 //  http://developer.apple.com/samplecode/CocoaEcho/index.html
     9 //
    10 
    11 #import <Cocoa/Cocoa.h>
    12 @class BLIPConnection;
    13 
    14 
    15 @interface BLIPEchoClient : NSObject
    16 {
    17     IBOutlet NSTextField * inputField;
    18     IBOutlet NSTextField * responseField;
    19     IBOutlet NSTableView * serverTableView;
    20     
    21     NSNetServiceBrowser * _serviceBrowser;
    22     NSMutableArray * _serviceList;
    23     NSNetService *_resolvingService;
    24     BLIPConnection *_connection;
    25 }
    26 
    27 @property (readonly) NSMutableArray *serviceList;
    28 
    29 - (IBAction)sendText:(id)sender;
    30 
    31 @end