#include <yatejabber.h>
Public Member Functions | |
virtual | ~JBComponentStream () |
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 |
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* getStreamStart | ( | ) | [protected, virtual] |
Get the starting stream element to be sent after stream connected
Reimplemented from JBStream.
virtual XMLElement* getAuthStart | ( | ) | [protected, virtual] |
Get the authentication element to be sent when authentication starts
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.