JBComponentStream Class Reference

A Jabber Component stream. More...

#include <yatejabber.h>

Inheritance diagram for JBComponentStream:
JBStream RefObject GenObject

List of all members.

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 XMLElementgetStreamStart ()
virtual XMLElementgetAuthStart ()
virtual void processAuth (XMLElement *xml)
virtual void processStarted (XMLElement *xml)

Friends

class JBEngine

Detailed Description

A Jabber Component stream.

This class holds a Jabber Component stream (implements the Jabber Component Protocol).


Constructor & Destructor Documentation

virtual ~JBComponentStream (  )  [inline, virtual]

Destructor

JBComponentStream ( JBEngine engine,
XMPPServerInfo info,
const JabberID localJid,
const JabberID remoteJid 
) [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

Member Function Documentation

virtual XMLElement* getAuthStart (  )  [protected, virtual]

Get the authentication element to be sent when authentication starts

Returns:
XMLElement pointer

Reimplemented from JBStream.

virtual void* getObject ( const String name  )  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.

virtual XMLElement* getStreamStart (  )  [protected, virtual]

Get the starting stream element to be sent after stream connected

Returns:
XMLElement pointer

Reimplemented from JBStream.

virtual void processAuth ( XMLElement xml  )  [protected, virtual]

Process a received element in Auth state

Parameters:
xml Valid XMLElement pointer

Reimplemented from JBStream.

virtual void processStarted ( XMLElement xml  )  [protected, virtual]

Process a received element in Started state

Parameters:
xml Valid XMLElement pointer

Reimplemented from JBStream.


The documentation for this class was generated from the following file:
Generated on Thu Apr 8 18:22:38 2010 for Yate by  doxygen 1.6.3