This header defines the Service class. More...
#include <ssrc/wisp/protocol/ContinuationCaller.h>
#include <ssrc/wisp/service/EventLoop.h>
#include <functional>
Include dependency graph for service/service.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes |
|
struct | message_handler_entry |
class | ServiceContext |
class | ServiceContext::TimeoutHandler |
class | ServiceProtocolProcessor< PackingTraits > |
class | ServiceEventHandler< PP > |
class | Service< EH > |
Macros |
|
#define | WISP_SERVICE_REQUEST(MessageType) set_request_handler<MessageType>(*this) |
#define | WISP_SERVICE_RESPONSE(MessageType) set_response_handler<MessageType>(*this) |
#define | WISP_SERVICE_REQUEST_T(MessageType) this->template set_request_handler<MessageType>(*this) |
#define | WISP_SERVICE_RESPONSE_T(MessageType) this->template set_response_handler<MessageType>(*this) |
#define | WISP_SERVICE_REQUEST_BUFFERED(MessageType, msg) set_request_handler<MessageType>(*this, msg) |
#define | WISP_SERVICE_RESPONSE_BUFFERED(MessageType, msg) set_response_handler<MessageType>(*this, msg) |
#define | WISP_SERVICE_REQUEST_BUFFERED_T(MessageType, msg) this->template set_request_handler<MessageType>(*this, msg) |
#define | WISP_SERVICE_RESPONSE_BUFFERED_T(MessageType, msg) this->template set_response_handler<MessageType>(*this, msg) |
Typedefs |
|
typedef std::function< void(const EventInfo &)> | timeout_handler |
typedef std::function< void(MessageInfo &)> | message_handler_type |
typedef boost::multi_index_container< message_handler_entry, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::composite_key< message_handler_entry, boost::multi_index::member< message_handler_entry, wisp_message_protocol,&message_handler_entry::protocol >, boost::multi_index::member< message_handler_entry, wisp_message_id,&message_handler_entry::id > > > > > | message_handler_map |
typedef ServiceContext::timeout_handler_ptr | timeout_ptr |
Detailed Description
This header defines the Service class.
Definition in file service/service.h.
Macro Definition Documentation
#define WISP_SERVICE_REQUEST | ( | MessageType | ) | set_request_handler<MessageType>(*this) |
Definition at line 46 of file service/service.h.
#define WISP_SERVICE_REQUEST_BUFFERED | ( | MessageType, | |
msg | |||
) | set_request_handler<MessageType>(*this, msg) |
Definition at line 55 of file service/service.h.
#define WISP_SERVICE_REQUEST_BUFFERED_T | ( | MessageType, | |
msg | |||
) | this->template set_request_handler<MessageType>(*this, msg) |
Definition at line 59 of file service/service.h.
#define WISP_SERVICE_REQUEST_T | ( | MessageType | ) | this->template set_request_handler<MessageType>(*this) |
Definition at line 50 of file service/service.h.
#define WISP_SERVICE_RESPONSE | ( | MessageType | ) | set_response_handler<MessageType>(*this) |
Definition at line 48 of file service/service.h.
#define WISP_SERVICE_RESPONSE_BUFFERED | ( | MessageType, | |
msg | |||
) | set_response_handler<MessageType>(*this, msg) |
Definition at line 57 of file service/service.h.
#define WISP_SERVICE_RESPONSE_BUFFERED_T | ( | MessageType, | |
msg | |||
) | this->template set_response_handler<MessageType>(*this, msg) |
Definition at line 61 of file service/service.h.
#define WISP_SERVICE_RESPONSE_T | ( | MessageType | ) | this->template set_response_handler<MessageType>(*this) |
Definition at line 52 of file service/service.h.
Typedef Documentation
typedef boost::multi_index_container< message_handler_entry, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::composite_key< message_handler_entry, boost::multi_index::member<message_handler_entry, wisp_message_protocol, &message_handler_entry::protocol>, boost::multi_index::member<message_handler_entry, wisp_message_id, &message_handler_entry::id> > > > > message_handler_map |
Definition at line 94 of file service/service.h.
typedef std::function<void (MessageInfo &)> message_handler_type |
Definition at line 68 of file service/service.h.
typedef std::function<void (const EventInfo &)> timeout_handler |
Definition at line 65 of file service/service.h.
Definition at line 186 of file service/service.h.
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.
Copyright © 2017 Savarese Software Research Corporation. All rights reserved