NSObject(XGConnectionDelegate)

Extends Class:
Declared In:

Overview

The XGConnectionDelegate delegate is used to report the status of the connection and any errors that are encountered.



Methods

-connectionDidClose:

This method is called as soon as the connection enters the Closed state from the Open state.

-connectionDidNotOpen:withError:

This method is called as soon as the connection enters the Closed state from the Opening state.

-connectionDidOpen:

This method is called as soon as the connection enters the Open state.


connectionDidClose:


This method is called as soon as the connection enters the Closed state from the Open state.

- (void)connectionDidClose:(XGConnection *)connection; 
Parameters
connection

The connection that closed.


connectionDidNotOpen:withError:


This method is called as soon as the connection enters the Closed state from the Opening state.

- (void)connectionDidNotOpen:(XGConnection *)connection 
        withError:(NSError *)error; 
Parameters
connection

The connection that didn't open.

error

The error that was encountered.


connectionDidOpen:


This method is called as soon as the connection enters the Open state.

- (void)connectionDidOpen:(XGConnection *)connection; 
Parameters
connection

The connection that just opened.

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-08-12