#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 () |
| void | disconnect () |
Protected Member Functions | |
| virtual void | handleStartNode () |
| virtual bool | handleNormalNode (Tag *tag) |
| virtual bool | checkStreamVersion (const std::string &) |
It's using XEP-0114 (Jabber Component Protocol) to authenticate with a server.
Definition at line 33 of file component.h.
|
||||||||||||||||||||||||
|
Constructs a new Component.
Definition at line 27 of file component.cpp. |
|
|
Virtual Destructor. Definition at line 52 of file component.h. |
|
|
Implementors of this function can check if they support the advertized stream version. The return value indicates whether or not the stream can be handled. A default implementation is provided.
Reimplemented from ClientBase. Definition at line 67 of file component.h. |
|
|
Disconnects from the server. Definition at line 57 of file component.h. |
|
|
This function is called for each Tag. Only stream initiation/negotiation should be done here.
Implements ClientBase. Definition at line 50 of file component.cpp. |
|
|
This function is called right after the opening <stream:stream> was received. Implements ClientBase. Definition at line 35 of file component.cpp. |
1.4.1