14 #ifndef CONNECTIONLISTENER_H__
15 #define CONNECTIONLISTENER_H__
47 virtual void onConnect() = 0;
68 virtual void onResourceBind(
const std::string& resource ) { (void)resource; }
91 virtual bool onTLSConnect(
const CertInfo& info ) = 0;
106 #endif // CONNECTIONLISTENER_H__
virtual void onSessionCreateError(const Error *error)
virtual void onResourceBindError(const Error *error)
A stanza error abstraction implemented as a StanzaExtension.
virtual void onResourceBind(const std::string &resource)
The namespace for the gloox library.
virtual ~ConnectionListener()
virtual void onStreamEvent(StreamEvent event)
Derived classes can be registered as ConnectionListeners with the Client.