#include <EventQueue.h>

Classes | |
| struct | EventEntry |
Public Types | |
| typedef WebServiceProtocol | protocol_traits |
Public Member Functions | |
| EventQueue (super::caller_type &caller, const EventQueueInitializer &initializer) | |
| virtual | ~EventQueue () |
Protected Member Functions | |
| WISP_IMPORT (SessionProtocol, MessageExpireSession) | |
| WISP_IMPORT (GroupSessionProtocol, MessageExpireGroupSession) | |
| void | reply (const string &sender, const MessageResponse &response, const NS_SSRC_WISP_PROTOCOL::wisp_call_token token) |
| void | complete_fetch (const string &sender, MessageResponse &response, const NS_SSRC_WISP_PROTOCOL::wisp_call_token token, const EventInfo &) |
| void | fetch (const WebServiceCall &call, const MessageInfo &msginfo) |
| void | process_request (const MessageDeliverEvent &msg, const MessageInfo &) |
| void | process_request (const MessageDeliverEvents &msg, const MessageInfo &) |
| void | process_request (const MessageExpireSession &msg, const MessageInfo &) |
| void | process_request (const MessageExpireGroupSession &msg, const MessageInfo &) |
| void | process_request (const MessageLoginSession &msg, const MessageInfo &) |
| virtual void | transition (State state) |
| WISP_IMPORT (protocol_traits, parameter_map) | |
| WISP_IMPORT (protocol_traits, MessageOneWay) | |
| WISP_IMPORT (protocol_traits, MessageTwoWay) | |
| WISP_IMPORT (protocol_traits, MessageResponse) | |
| WISP_IMPORT (protocol_traits, MessageDeliverEvent) | |
| WISP_IMPORT (protocol_traits, MessageDeliverEvents) | |
| WISP_IMPORT (protocol_traits, CallOneWay) | |
| WISP_IMPORT (protocol_traits, CallTwoWay) | |
| WISP_IMPORT (protocol_traits, CallResponse) | |
| WISP_IMPORT (protocol_traits, CallDeliverEvent) | |
| WISP_IMPORT (protocol_traits, CallDeliverEvents) | |
| bool | set_call_handler_one_way (const string &call, const call_handler_type &call_handler) |
| bool | set_call_handler_two_way (const string &call, const call_handler_type &call_handler) |
| bool | set_action_handler (ActionConfig &action, const call_handler_type &call_handler) |
| void | one_way_call (const WebServiceCall &call, const MessageInfo &msginfo) |
| void | two_way_call (const WebServiceCall &call, const MessageInfo &msginfo) |
| void | process_request (const MessageOneWay &msg, const MessageInfo &msginfo) |
| void | process_request (const MessageTwoWay &msg, const MessageInfo &msginfo) |
Protected Attributes | |
| boost::ptr_vector< ActionConfig > | _actions |
| ActionConfig &new_action(const Properties &action_map, const string &key) SSRC_DECL_THROW(std void | clear_call_handlers () |
Friends | |
| class | NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > |
Detailed Description
Definition at line 53 of file EventQueue.h.
Member Typedef Documentation
typedef WebServiceProtocol ws::WebService::protocol_traits [inherited] |
Definition at line 73 of file ws/service.h.
Constructor & Destructor Documentation
| ws::EventQueue::EventQueue | ( | super::caller_type & | caller, |
| const EventQueueInitializer & | initializer | ||
| ) | [inline, explicit] |
Definition at line 454 of file EventQueue.h.
References WS_TWO_WAY_CALL.
| virtual ws::EventQueue::~EventQueue | ( | ) | [inline, virtual] |
Definition at line 470 of file EventQueue.h.
Member Function Documentation
| void ws::EventQueue::complete_fetch | ( | const string & | sender, |
| MessageResponse & | response, | ||
| const NS_SSRC_WISP_PROTOCOL::wisp_call_token | token, | ||
| const EventInfo & | |||
| ) | [inline, protected] |
Definition at line 140 of file EventQueue.h.
| void ws::EventQueue::fetch | ( | const WebServiceCall & | call, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected] |
Definition at line 160 of file EventQueue.h.
References ws::WebServiceCall::get_parameter(), ws::WebServiceCall::session, and ws::web_event_direct().
| void ws::WebService::one_way_call | ( | const WebServiceCall & | call, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 123 of file ws/service.h.
References ws::WebServiceCall::call.
| void ws::WebService::process_request | ( | const MessageOneWay & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 174 of file ws/service.h.
| void ws::WebService::process_request | ( | const MessageTwoWay & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 180 of file ws/service.h.
| void ws::EventQueue::process_request | ( | const MessageDeliverEvent & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected] |
Definition at line 271 of file EventQueue.h.
References utility::to_string().
| void ws::EventQueue::process_request | ( | const MessageDeliverEvents & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected] |
Definition at line 306 of file EventQueue.h.
References utility::to_string().
| void ws::EventQueue::process_request | ( | const MessageExpireSession & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected] |
Definition at line 348 of file EventQueue.h.
References ws::web_event().
| void ws::EventQueue::process_request | ( | const MessageExpireGroupSession & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected] |
Definition at line 381 of file EventQueue.h.
References login::uid(), and ws::web_event().
| void ws::EventQueue::process_request | ( | const MessageLoginSession & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected] |
Definition at line 407 of file EventQueue.h.
References login::uid().
| void ws::EventQueue::reply | ( | const string & | sender, |
| const MessageResponse & | response, | ||
| const NS_SSRC_WISP_PROTOCOL::wisp_call_token | token | ||
| ) | [inline, protected] |
Definition at line 112 of file EventQueue.h.
References utility::to_string().
| bool ws::WebService::set_action_handler | ( | ActionConfig & | action, |
| const call_handler_type & | call_handler | ||
| ) | [protected, inherited] |
Definition at line 113 of file ws/service.cc.
References ws::ActionConfig::action, ws::ActionConfig::one_way, ws::ActionConfig::parameters, ws::ActionConfig::requires_session, and ws::validate_call().
| bool ws::WebService::set_call_handler_one_way | ( | const string & | call, |
| const call_handler_type & | call_handler | ||
| ) | [protected, inherited] |
Definition at line 98 of file ws/service.cc.
| bool ws::WebService::set_call_handler_two_way | ( | const string & | call, |
| const call_handler_type & | call_handler | ||
| ) | [protected, inherited] |
Definition at line 106 of file ws/service.cc.
| virtual void ws::EventQueue::transition | ( | State | state | ) | [inline, protected, virtual] |
Definition at line 418 of file EventQueue.h.
| void ws::WebService::two_way_call | ( | const WebServiceCall & | call, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 148 of file ws/service.h.
References ws::WebServiceCall::call.
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| parameter_map | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| MessageOneWay | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| MessageTwoWay | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| MessageResponse | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| MessageDeliverEvent | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| MessageDeliverEvents | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| CallOneWay | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| CallTwoWay | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| CallResponse | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| CallDeliverEvent | |||
| ) | [protected, inherited] |
| ws::WebService::WISP_IMPORT | ( | protocol_traits | , |
| CallDeliverEvents | |||
| ) | [protected, inherited] |
| ws::EventQueue::WISP_IMPORT | ( | SessionProtocol | , |
| MessageExpireSession | |||
| ) | [protected] |
| ws::EventQueue::WISP_IMPORT | ( | GroupSessionProtocol | , |
| MessageExpireGroupSession | |||
| ) | [protected] |
Friends And Related Function Documentation
friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > [friend] |
Reimplemented from ws::WebService.
Definition at line 55 of file EventQueue.h.
Member Data Documentation
boost::ptr_vector<ActionConfig> ws::WebService::_actions [protected, inherited] |
Definition at line 89 of file ws/service.h.
void ws::WebService::clear_call_handlers [protected, inherited] |
Definition at line 110 of file ws/service.h.
The documentation for this class was generated from the following file: