Make use of optional protocols.
This commit is contained in:
parent
932d805e95
commit
b6314ccbc9
2 changed files with 4 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
|||
@class XMPPAuthenticator;
|
||||
|
||||
@protocol XMPPConnectionDelegate
|
||||
@optional
|
||||
- (void)connectionWasClosed: (XMPPConnection*)conn;
|
||||
- (void)connection: (XMPPConnection*)conn
|
||||
didReceiveIQ: (XMPPIQ*)iq;
|
||||
|
@ -43,7 +44,8 @@
|
|||
/**
|
||||
* \brief A class which abstracts a connection to an XMPP service.
|
||||
*/
|
||||
@interface XMPPConnection: OFObject <OFXMLElementBuilderDelegate>
|
||||
@interface XMPPConnection: OFObject <OFXMLParserDelegate,
|
||||
OFXMLElementBuilderDelegate>
|
||||
{
|
||||
OFTCPSocket *sock;
|
||||
OFXMLParser *parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue