#include <component.h>
Inherits ClientBase.
Inheritance diagram for Component:
Public Member Functions | |
Component (const std::string &ns, const std::string &server, const std::string &component, const std::string &password, int port=5347) | |
virtual | ~Component () |
virtual const std::string | username () const |
virtual const std::string | password () const |
Disco * | disco () const |
Protected Member Functions | |
virtual void | handleStartNode () |
virtual bool | handleNormalNode (Stanza *stanza) |
It's using JEP-0114 (Jabber Component Protocol) to authenticate with a server.
Definition at line 34 of file component.h.
|
Constructs a new Component.
Definition at line 26 of file component.cpp. References ClientBase::m_jid, Disco::setIdentity(), JID::setServer(), and Disco::setVersion(). |
|
Virtual Destructor. Definition at line 37 of file component.cpp. |
|
Gives access to the component's Disco object.
Definition at line 64 of file component.h. |
|
Returns the current password.
Reimplemented from ClientBase. Definition at line 58 of file component.h. |
|
Reimplement this function to provide a username for connection purposes.
Implements ClientBase. Definition at line 55 of file component.h. |