|
|
This class holds a Jabber Component stream (implements the Jabber Component Protocol).
~JBComponentStream ()
| ~JBComponentStream |
[virtual]
Destructor
void* getObject (const String& name)
| getObject |
[const virtual]
Get an object from this stream
Parameters:
name | The name of the object to get |
Returns: Pointer to the object or 0 if not found
Reimplemented from JBStream.
JBComponentStream (JBEngine* engine, XMPPServerInfo& info,
const JabberID& localJid, const JabberID& remoteJid)
| JBComponentStream |
[protected]
Constructor. Build an outgoing stream
Parameters:
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 |
XMLElement* getStreamStart ()
| getStreamStart |
[protected virtual]
Get the starting stream element to be sent after stream connected
Returns: XMLElement pointer
Reimplemented from JBStream.
XMLElement* getAuthStart ()
| getAuthStart |
[protected virtual]
Get the authentication element to be sent when authentication starts
Returns: XMLElement pointer
Reimplemented from JBStream.
void processAuth (XMLElement* xml)
| processAuth |
[protected virtual]
Process a received element in Auth state
Parameters:
xml | Valid XMLElement pointer |
Reimplemented from JBStream.
void processStarted (XMLElement* xml)
| processStarted |
[protected virtual]
Process a received element in Started state
Parameters:
xml | Valid XMLElement pointer |
Reimplemented from JBStream.
Generated by: paulc on bussard on Wed Oct 21 01:57:30 2009, using kdoc 2.0a54. |