TCP/TCP_Internal.h
author Jens Alfke <jens@mooseyard.com>
Tue Jun 03 16:56:33 2008 -0700 (2008-06-03)
changeset 11 29e8b03c05d4
child 18 3be241de1630
permissions -rw-r--r--
* Initial checkin of BLIP.py. (Receiving seems to work.)
* FIXED: Abbreviation list in BLIPProperties was messed up.
* Renamed some instance variables to use 'request' instead of 'query'.
* Test client doesn't throw an assertion-failure now when the number of unresponded requests exceeds 100.
jens@0
     1
//
jens@0
     2
//  TCP_Internal.h
jens@0
     3
//  MYNetwork
jens@0
     4
//
jens@0
     5
//  Created by Jens Alfke on 5/18/08.
jens@0
     6
//  Copyright 2008 Jens Alfke. All rights reserved.
jens@0
     7
//
jens@0
     8
jens@0
     9
jens@0
    10
#import "TCPWriter.h"
jens@0
    11
#import "TCPConnection.h"
jens@0
    12
#import "TCPListener.h"
jens@0
    13
jens@0
    14
/* Private declarations and APIs for TCP client/server implementation. */
jens@0
    15
jens@0
    16
jens@0
    17
jens@0
    18
@interface TCPConnection ()
jens@0
    19
- (void) _setStreamProperty: (id)value forKey: (NSString*)key;
jens@0
    20
- (void) _streamOpened: (TCPStream*)stream;
jens@0
    21
- (BOOL) _streamPeerCertAvailable: (TCPStream*)stream;
jens@0
    22
- (void) _stream: (TCPStream*)stream gotError: (NSError*)error;
jens@0
    23
- (void) _streamGotEOF: (TCPStream*)stream;
jens@0
    24
- (void) _streamClosed: (TCPStream*)stream;
jens@0
    25
@end