messagesessionhandler.h
/*
Copyright (c) 2005-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 MESSAGESESSIONHANDLER_H__
#define MESSAGESESSIONHANDLER_H__
#include "stanza.h"
#include "messagesession.h"
namespace gloox
{
class GLOOX_API MessageSessionHandler
{
public:
virtual ~MessageSessionHandler() {}
virtual void handleMessageSession( MessageSession* session ) = 0;
};
}
#endif // MESSAGESESSIONHANDLER_H__
gloox::MessageSessionHandler
A virtual interface which can be reimplemented to receive incoming message sessions.
Definition messagesessionhandler.h:35
gloox::MessageSessionHandler::~MessageSessionHandler
virtual ~MessageSessionHandler()
Definition messagesessionhandler.h:40
gloox::MessageSessionHandler::handleMessageSession
virtual void handleMessageSession(MessageSession *session)=0
gloox::MessageSession
An abstraction of a message session between any two entities.
Definition messagesession.h:146
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28