BLIP/Demo/BLIPEchoClient.h
author Dan Preston <danpreston@codechemistry.com>
Tue May 05 15:12:18 2009 -0700 (2009-05-05)
changeset 39 5ed02247b7fc
parent 7 5936db2c1987
permissions -rw-r--r--
Enabled garbage collection as being supported in the library target.
jens@3
     1
//
jens@3
     2
//  BLIPEchoClient.h
jens@3
     3
//  MYNetwork
jens@3
     4
//
jens@3
     5
//  Created by Jens Alfke on 5/24/08.
jens@3
     6
//  Copyright 2008 Jens Alfke. All rights reserved.
jens@4
     7
//  Adapted from Apple sample code "CocoaEcho":
jens@4
     8
//  http://developer.apple.com/samplecode/CocoaEcho/index.html
jens@3
     9
//
jens@3
    10
jens@3
    11
#import <Cocoa/Cocoa.h>
jens@26
    12
#import "BLIPConnection.h"
jens@26
    13
@class MYBonjourBrowser;
jens@3
    14
jens@3
    15
jens@26
    16
@interface BLIPEchoClient : NSObject <BLIPConnectionDelegate>
jens@3
    17
{
jens@3
    18
    IBOutlet NSTextField * inputField;
jens@3
    19
    IBOutlet NSTextField * responseField;
jens@3
    20
    IBOutlet NSTableView * serverTableView;
jens@3
    21
    
jens@26
    22
    MYBonjourBrowser * _serviceBrowser;
jens@3
    23
    BLIPConnection *_connection;
jens@3
    24
}
jens@3
    25
jens@26
    26
@property (readonly) MYBonjourBrowser *serviceBrowser;
jens@26
    27
@property (readonly) NSArray *serviceList;
jens@3
    28
jens@26
    29
- (IBAction)serverClicked:(id)sender;
jens@3
    30
- (IBAction)sendText:(id)sender;
jens@3
    31
jens@3
    32
@end