TCPStream Class Reference

#import <TCPStream.h>

Inherited by TCPWriter.

List of all members.


Detailed Description

Abstract superclass for data streams, used by TCPConnection.


Public Member Functions

(void) - open
 Opens the stream.
(void) - disconnect
 Disconnects abruptly.
(BOOL) - close
 Closes the stream politely, waiting until there's no data pending.
(id) - propertyForKey:
 Generic accessor for CFStream/NSStream properties.
(void) - setProperty:forKey:
 Generic accessor for CFStream/NSStream properties.

Properties

readonly IPAddresspeerAddress
 The IP address this stream is connected to.
readonly NSString * securityLevel
 The connection's security level as reported by the underlying CFStream.
copy NSDictionary * SSLProperties
 The SSL property dictionary for the CFStream.
readonly NSArray * peerSSLCerts
 The SSL certificate(s) of the peer, if any.
readonly BOOL isOpen
 Is the stream open?
readonly BOOL isBusy
 Does the stream have pending data to read or write, that prevents it from closing?


Member Function Documentation

- (void) open  

Opens the stream.

- (void) disconnect  

Disconnects abruptly.

- (BOOL) close  

Closes the stream politely, waiting until there's no data pending.

- (id) propertyForKey: (CFStringRef)  cfStreamProperty  

Generic accessor for CFStream/NSStream properties.

- (void) setProperty: (id)  value
forKey: (CFStringRef)  cfStreamProperty 

Generic accessor for CFStream/NSStream properties.


Property Documentation

- (IPAddress *) peerAddress

The IP address this stream is connected to.

- (NSString *) securityLevel

The connection's security level as reported by the underlying CFStream.

- (NSDictionary *) SSLProperties

The SSL property dictionary for the CFStream.

- (NSArray *) peerSSLCerts

The SSL certificate(s) of the peer, if any.


The documentation for this class was generated from the following files:
Generated on Tue May 27 22:56:33 2008 for MYNetwork:MooseyardNetworking by  doxygen 1.5.4