jinglesessionhandler.h
/*
Copyright (c) 2008-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#ifndef JINGLESESSIONHANDLER_H__
#define JINGLESESSIONHANDLER_H__
#include "macros.h"
#include "jinglesession.h"
namespace gloox
{
namespace Jingle
{
class GLOOX_API SessionHandler
{
public:
virtual ~SessionHandler() {}
virtual void handleSessionAction( Action action, Session* session, const Session::Jingle* jingle ) = 0;
virtual void handleSessionActionError( Action action, Session* session, const Error* error ) = 0;
virtual void handleIncomingSession( Session* session ) = 0;
};
}
}
#endif // JINGLESESSIONHANDLER_H__
gloox::Error
A stanza error abstraction implemented as a StanzaExtension.
Definition error.h:35
gloox::Jingle::SessionHandler
A Jingle session handler.
Definition jinglesessionhandler.h:33
gloox::Jingle::SessionHandler::~SessionHandler
virtual ~SessionHandler()
Definition jinglesessionhandler.h:38
gloox::Jingle::SessionHandler::handleSessionActionError
virtual void handleSessionActionError(Action action, Session *session, const Error *error)=0
gloox::Jingle::SessionHandler::handleSessionAction
virtual void handleSessionAction(Action action, Session *session, const Session::Jingle *jingle)=0
gloox::Jingle::SessionHandler::handleIncomingSession
virtual void handleIncomingSession(Session *session)=0
gloox::Jingle::Session::Jingle
This is an abstraction of Jingle's (XEP-0166) <jingle> element as a StanzaExtension.
Definition jinglesession.h:199
gloox::Jingle::Session
This is an implementation of a Jingle Session (XEP-0166).
Definition jinglesession.h:81
gloox::Jingle
The namespace containing Jingle-related (XEP-0166 et. al.) classes.
Definition jinglecontent.cpp:22
gloox::Jingle::Action
Action
Definition jinglesession.h:50
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28