Differences From Artifact [845301f1bf]:
- File
src/XMPPConnection.h
— part of check-in
[991c7aeff2]
at
2011-03-10 21:14:32
on branch trunk
— Stop caching authentication mechanisms
We don't need to do that. In fact we had to do additional work. (user: florob@babelmonkeys.de, size: 2936) [annotate] [blame] [check-ins using]
To Artifact [06bcbbdead]:
- File src/XMPPConnection.h — part of check-in [57b5811d80] at 2011-03-21 13:56:06 on branch trunk — Make use of optional protocols. (user: js, size: 2971) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | @class XMPPJID; @class XMPPIQ; @class XMPPMessage; @class XMPPPresence; @class XMPPAuthenticator; @protocol XMPPConnectionDelegate - (void)connectionWasClosed: (XMPPConnection*)conn; - (void)connection: (XMPPConnection*)conn didReceiveIQ: (XMPPIQ*)iq; - (void)connection: (XMPPConnection*)conn didReceivePresence: (XMPPPresence*)pres; - (void)connection: (XMPPConnection*)conn didReceiveMessage: (XMPPMessage*)msg; @end /** * \brief A class which abstracts a connection to an XMPP service. */ | > | > | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | @class XMPPJID; @class XMPPIQ; @class XMPPMessage; @class XMPPPresence; @class XMPPAuthenticator; @protocol XMPPConnectionDelegate @optional - (void)connectionWasClosed: (XMPPConnection*)conn; - (void)connection: (XMPPConnection*)conn didReceiveIQ: (XMPPIQ*)iq; - (void)connection: (XMPPConnection*)conn didReceivePresence: (XMPPPresence*)pres; - (void)connection: (XMPPConnection*)conn didReceiveMessage: (XMPPMessage*)msg; @end /** * \brief A class which abstracts a connection to an XMPP service. */ @interface XMPPConnection: OFObject <OFXMLParserDelegate, OFXMLElementBuilderDelegate> { OFTCPSocket *sock; OFXMLParser *parser; OFXMLElementBuilder *elementBuilder; /// The username to connect with OFString *username; /// The password to connect with |
︙ | ︙ |