A Jabber Component stream. More...
#include <yatejabber.h>
Public Member Functions | |
| virtual | ~JBComponentStream () |
| virtual void * | getObject (const String &name) const |
Protected Member Functions | |
| JBComponentStream (JBEngine *engine, XMPPServerInfo &info, const JabberID &localJid, const JabberID &remoteJid) | |
| virtual XMLElement * | getStreamStart () |
| virtual XMLElement * | getAuthStart () |
| virtual void | processAuth (XMLElement *xml) |
| virtual void | processStarted (XMLElement *xml) |
Friends | |
| class | JBEngine |
A Jabber Component stream.
This class holds a Jabber Component stream (implements the Jabber Component Protocol).
| virtual ~JBComponentStream | ( | ) | [inline, virtual] |
Destructor
| JBComponentStream | ( | JBEngine * | engine, | |
| XMPPServerInfo & | info, | |||
| const JabberID & | localJid, | |||
| const JabberID & | remoteJid | |||
| ) | [protected] |
Constructor. Build an outgoing stream
| engine | The engine that owns this stream | |
| info | Structure containing data used to connect to remote server | |
| localJid | Local party's JID | |
| remoteJid | Remote party's JID |
| virtual XMLElement* getAuthStart | ( | ) | [protected, virtual] |
Get the authentication element to be sent when authentication starts
Reimplemented from JBStream.
| virtual void* getObject | ( | const String & | name | ) | const [virtual] |
Get an object from this stream
| name | The name of the object to get |
Reimplemented from JBStream.
| virtual XMLElement* getStreamStart | ( | ) | [protected, virtual] |
Get the starting stream element to be sent after stream connected
Reimplemented from JBStream.
| virtual void processAuth | ( | XMLElement * | xml | ) | [protected, virtual] |
Process a received element in Auth state
| xml | Valid XMLElement pointer |
Reimplemented from JBStream.
| virtual void processStarted | ( | XMLElement * | xml | ) | [protected, virtual] |
Process a received element in Started state
| xml | Valid XMLElement pointer |
Reimplemented from JBStream.
1.6.3