#import <TCPConnection.h>
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. | |
| - (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.
1.5.4