Make it possible to get exceptions in async mode.
This commit is contained in:
parent
334586bb07
commit
6a89ab76d0
2 changed files with 27 additions and 2 deletions
|
@ -116,6 +116,18 @@
|
|||
*/
|
||||
- (void)connectionWasClosed: (XMPPConnection*)connection;
|
||||
|
||||
/**
|
||||
* \brief This callback is called when the connection threw an exception.
|
||||
*
|
||||
* This is only called for connections on which \ref handleConnection: has been
|
||||
* called.
|
||||
*
|
||||
* \param connection The connection which threw an exception
|
||||
* \param exception The exception the connection threw
|
||||
*/
|
||||
- (void)connection: (XMPPConnection*)connection
|
||||
didThrowException: (OFException*)exception;
|
||||
|
||||
/**
|
||||
* \brief This callback is called when the connection is about to upgrade to
|
||||
* TLS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue