#include <service.h>
Public Types | |
typedef registry::service_type_list::const_iterator | service_type_iterator |
Public Member Functions | |
ServiceProtocolProcessor (caller_type &caller) | |
virtual | ~ServiceProtocolProcessor () |
void | add_service_type (const string &service_type) |
service_type_iterator | service_types_begin () |
service_type_iterator | service_types_end () |
void | start () |
void | stop () |
void | membership (const MessageInfo &msginfo, const MembershipInfo &meminfo) |
Protected Member Functions | |
WISP_IMPORT (ServiceProtocol, MessageStop) | |
WISP_IMPORT (ServiceProtocol, MessageEchoRequest) | |
WISP_IMPORT (ServiceProtocol, MessageReregister) | |
WISP_IMPORT (ServiceProtocol, MessageStatusRequest) | |
WISP_IMPORT (ServiceProtocol, CallStop) | |
WISP_IMPORT (ServiceProtocol, CallEchoReply) | |
WISP_IMPORT (ServiceProtocol, CallStatusReply) | |
virtual void | process_request (const MessageStop &msg, const MessageInfo &) |
virtual void | process_request (const MessageEchoRequest &msg, const MessageInfo &msginfo) |
virtual void | process_request (const MessageReregister &msg, const MessageInfo &) |
virtual properties_ptr | get_status () |
void | process_request (const MessageStatusRequest &msg, const MessageInfo &msginfo) |
virtual void | transition (State state) |
Friends | |
class | NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > |
Detailed Description
Definition at line 49 of file service/service.h.
Member Typedef Documentation
typedef registry::service_type_list::const_iterator ServiceProtocolProcessor::service_type_iterator |
Definition at line 109 of file service/service.h.
Constructor & Destructor Documentation
ServiceProtocolProcessor::ServiceProtocolProcessor | ( | caller_type & | caller | ) | [inline, explicit] |
Definition at line 111 of file service/service.h.
virtual ServiceProtocolProcessor::~ServiceProtocolProcessor | ( | ) | [inline, virtual] |
Definition at line 122 of file service/service.h.
Member Function Documentation
void ServiceProtocolProcessor::add_service_type | ( | const string & | service_type | ) | [inline] |
Definition at line 124 of file service/service.h.
properties_ptr ServiceProtocolProcessor::get_status | ( | ) | [protected, virtual] |
Definition at line 39 of file service/service.cc.
References PropTree< Key, Ops, TreeType >::create_node(), Properties::create_primitive_property_vector(), get_memusage(), service_types_begin(), service_types_end(), Properties::set(), and PropTree< Key, Ops, TreeType >::visit().
Referenced by Renderer::get_status(), and process_request().
void ServiceProtocolProcessor::membership | ( | const MessageInfo & | msginfo, |
const MembershipInfo & | meminfo | ||
) | [inline] |
Definition at line 148 of file service/service.h.
References ServiceProtocol< protocol_, PT >::service_group(), and transition().
virtual void ServiceProtocolProcessor::process_request | ( | const MessageStop & | msg, |
const MessageInfo & | |||
) | [inline, protected, virtual] |
Definition at line 79 of file service/service.h.
References stop().
virtual void ServiceProtocolProcessor::process_request | ( | const MessageEchoRequest & | msg, |
const MessageInfo & | msginfo | ||
) | [inline, protected, virtual] |
Definition at line 83 of file service/service.h.
virtual void ServiceProtocolProcessor::process_request | ( | const MessageReregister & | msg, |
const MessageInfo & | |||
) | [inline, protected, virtual] |
Definition at line 91 of file service/service.h.
void ServiceProtocolProcessor::process_request | ( | const MessageStatusRequest & | msg, |
const MessageInfo & | msginfo | ||
) | [protected] |
Definition at line 111 of file service/service.cc.
References get_status().
Definition at line 128 of file service/service.h.
Referenced by get_status().
Definition at line 132 of file service/service.h.
Referenced by get_status().
void ServiceProtocolProcessor::start | ( | ) | [inline] |
Definition at line 136 of file service/service.h.
References ServiceProtocol< protocol_, PT >::service_group(), and transition().
void ServiceProtocolProcessor::stop | ( | ) | [inline] |
Definition at line 143 of file service/service.h.
References ServiceProtocol< protocol_, PT >::service_group(), and transition().
Referenced by process_request().
virtual void ServiceProtocolProcessor::transition | ( | State | state | ) | [inline, protected, virtual] |
Definition at line 102 of file service/service.h.
References service_group_registry().
Referenced by membership(), start(), and stop().
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
MessageStop | |||
) | [protected] |
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
MessageEchoRequest | |||
) | [protected] |
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
MessageReregister | |||
) | [protected] |
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
MessageStatusRequest | |||
) | [protected] |
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
CallStop | |||
) | [protected] |
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
CallEchoReply | |||
) | [protected] |
ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
CallStatusReply | |||
) | [protected] |
Friends And Related Function Documentation
friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > [friend] |
Definition at line 53 of file service/service.h.
The documentation for this class was generated from the following files: