Savarese Software Research Corporation
ServiceProtocolProcessor Class Reference

#include <service.h>

Inheritance diagram for ServiceProtocolProcessor:

List of all members.

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.

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.

void ServiceProtocolProcessor::membership ( const MessageInfo &  msginfo,
const MembershipInfo &  meminfo 
) [inline]
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().

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:

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.