Add a delegate for incoming/outgoing elements.

This commit is contained in:
Jonathan Schleifer 2011-12-12 00:27:32 +01:00
parent 4aaa754a4d
commit fdf33f356a
3 changed files with 25 additions and 2 deletions

View file

@ -40,6 +40,10 @@
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
@optional
#endif
- (void)connection: (XMPPConnection*)connection
didReceiveElement: (OFXMLElement*)element;
- (void)connection: (XMPPConnection*)connection
didSendElement: (OFXMLElement*)element;
- (void)connectionWasAuthenticated: (XMPPConnection*)connection;
- (void)connection: (XMPPConnection*)connection
wasBoundToJID: (XMPPJID*)JID;