#include <jinglesession.h>
Inherits IqHandler.
Inheritance diagram for Session:

Public Types | |
| enum | State { Ended, Pending, Active } |
Public Member Functions | |
| Session (ClientBase *parent, const JID &callee, SessionHandler *jsh) | |
| Session (ClientBase *parent, const Session::Jingle *jingle, SessionHandler *jsh) | |
| virtual | ~Session () |
| bool | initiate (const PluginList &plugins) |
| bool | accept (const Content *content) |
| bool | inform (Action action, const Plugin *plugin) |
| bool | terminate (Reason *reason) |
| State | state () const |
| const std::string & | sid () const |
| virtual bool | handleIq (const IQ &iq) |
| virtual void | handleIqID (const IQ &iq, int context) |
Classes | |
| class | Jingle |
| This is an abstraction of the XEP-0166 (Jingle) <jingle> element as a StanzaExtension. More... | |
| class | Reason |
| An abstraction of a terminate reason. More... | |
Beware! The classes in the Jingle namespace implement the signaling part of Jingle only. At this point, there is no support for actually establishing any connection to a remote entity, nor for transfering any media in any way whatsoever.
XEP Version: 0.33
Definition at line 84 of file jinglesession.h.
|
|
Session state.
Definition at line 91 of file jinglesession.h. |
|
||||||||||||||||
Definition at line 216 of file jinglesession.cpp. |
|
||||||||||||||||
|
Creates a new Session from the incoming Jingle object. This is a NOOP for Jingles that have an action() different from SessionInitiate.
Definition at line 230 of file jinglesession.cpp. |
|
|
Virtual Destructor. Definition at line 244 of file jinglesession.cpp. |
|
|
Accepts an incoming session with the given content.
Definition at line 264 of file jinglesession.cpp. |
|
|
Reimplement this function if you want to be notified about incoming IQs.
Implements IqHandler. Definition at line 306 of file jinglesession.cpp. |
|
||||||||||||
|
Reimplement this function if you want to be notified about incoming IQs with a specific value of the
Implements IqHandler. Definition at line 378 of file jinglesession.cpp. |
|
||||||||||||
|
Sends an informational message (DescriptionInfo, TransportInfo, SessionInfo) to the remote party.
Definition at line 278 of file jinglesession.cpp. |
|
|
Initiates a session with a remote entity.
Definition at line 250 of file jinglesession.cpp. |
|
|
Returns the session's ID.
Definition at line 357 of file jinglesession.h. |
|
|
Returns the session's state.
Definition at line 351 of file jinglesession.h. |
|
|
Terminates the current session, if it is at least in Pending state, with the given reason. The sid parameter is ignored unless the reason is AlternativeSession.
Definition at line 292 of file jinglesession.cpp. |
1.4.1