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