jens@0: // jens@0: // TCP_Internal.h jens@0: // MYNetwork jens@0: // jens@0: // Created by Jens Alfke on 5/18/08. jens@0: // Copyright 2008 Jens Alfke. All rights reserved. jens@0: // jens@0: jens@0: jens@0: #import "TCPWriter.h" jens@0: #import "TCPConnection.h" jens@0: #import "TCPListener.h" jens@0: jens@0: /* Private declarations and APIs for TCP client/server implementation. */ jens@0: jens@0: jens@0: jens@0: @interface TCPConnection () jens@0: - (void) _setStreamProperty: (id)value forKey: (NSString*)key; jens@0: - (void) _streamOpened: (TCPStream*)stream; jens@0: - (BOOL) _streamPeerCertAvailable: (TCPStream*)stream; jens@0: - (void) _stream: (TCPStream*)stream gotError: (NSError*)error; jens@0: - (void) _streamGotEOF: (TCPStream*)stream; jens@0: - (void) _streamClosed: (TCPStream*)stream; jens@0: @end