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 ()

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 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 Sun Dec 7 21:36:13 2008 for Yate by  doxygen 1.5.7.1