< TCPConnectionDelegate > Protocol Reference

#import <TCPConnection.h>

List of all members.


Detailed Description

The delegate messages sent by TCPConnection.

All methods are optional.

Public Member Functions

(void) - connectionDidOpen:
 Called after the connection successfully opens.
(void) - connection:failedToOpen:
 Called after the connection fails to open due to an error.
(BOOL) - connection:authorizeSSLPeer:
 Called when the identity of the peer is known, if using an SSL connection and the SSL settings say to check the peer's certificate.
(void) - connectionDidClose:
 Called after the connection closes.


Member Function Documentation

- (void) connectionDidOpen: (TCPConnection *)  connection  

Called after the connection successfully opens.

- (void) connection: (TCPConnection *)  connection
failedToOpen: (NSError *)  error 

Called after the connection fails to open due to an error.

- (BOOL) connection: (TCPConnection *)  connection
authorizeSSLPeer: (SecCertificateRef)  peerCert 

Called when the identity of the peer is known, if using an SSL connection and the SSL settings say to check the peer's certificate.

This happens, if at all, after the -connectionDidOpen: call.

- (void) connectionDidClose: (TCPConnection *)  connection  

Called after the connection closes.


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