class JBComponentStream

A Jabber Component stream. More...

Full nameTelEngine::JBComponentStream
Definition#include <libs/yjingle/yatejabber.h>
InheritsTelEngine::JBStream [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

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:
nameThe 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:
engineThe engine that owns this stream
infoStructure containing data used to connect to remote server
localJidLocal party's JID
remoteJidRemote 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:
xmlValid XMLElement pointer

Reimplemented from JBStream.

void  processStarted (XMLElement* xml)

processStarted

[protected virtual]

Process a received element in Started state

Parameters:
xmlValid XMLElement pointer

Reimplemented from JBStream.


Generated by: paulc on bussard on Wed Oct 21 01:57:30 2009, using kdoc 2.0a54.