Savarese Software Research Corporation
Service< EH > Class Template Reference

#include <service.h>

Public Types

typedef EH  event_handler
 

Public Member Functions

  WISP_IMPORT_T (event_handler, caller_type)
 
  WISP_IMPORT_T (event_handler, protocol_processor)
 
  Service (const std::string &connection="", const std::string &name="", const unsigned int message_capacity=Message::DefaultCapacity)
 
template<typename Initializer >
  Service (const Initializer &initializer, const std::string &connection="", const std::string &name="", const unsigned int message_capacity=Message::DefaultCapacity)
 
const std::string &  name () const
 
protocol_processor::State  state ()
 
void  start (EventLoop &loop, unsigned int call_timeout)
 
void  stop ()
 

Protected Member Functions

protocol_processor &  protocol ()
 

Detailed Description

template<typename EH>
class Service< EH >

Definition at line 563 of file service/service.h.

Member Typedef Documentation

template<typename EH >
typedef EH Service< EH >::event_handler

Definition at line 565 of file service/service.h.

Constructor & Destructor Documentation

template<typename EH >
Service< EH >::Service ( const std::string &  connection = "",
const std::string &  name = "",
const unsigned int  message_capacity = Message::DefaultCapacity 
)
inlineexplicit

Definition at line 581 of file service/service.h.

template<typename EH >
template<typename Initializer >
Service< EH >::Service ( const Initializer &  initializer,
const std::string &  connection = "",
const std::string &  name = "",
const unsigned int  message_capacity = Message::DefaultCapacity 
)
inlineexplicit

Definition at line 591 of file service/service.h.

Member Function Documentation

template<typename EH >
const std::string& Service< EH >::name ( ) const
inline

Definition at line 601 of file service/service.h.

template<typename EH >
protocol_processor& Service< EH >::protocol ( )
inlineprotected

Definition at line 575 of file service/service.h.

Referenced by Service< EH >::state().

template<typename EH >
void Service< EH >::start ( EventLoop loop,
unsigned int  call_timeout 
)
inline

Definition at line 609 of file service/service.h.

template<typename EH >
protocol_processor::State Service< EH >::state ( )
inline

Definition at line 605 of file service/service.h.

References Service< EH >::protocol().

template<typename EH >
void Service< EH >::stop ( )
inline

Definition at line 613 of file service/service.h.

template<typename EH >
Service< EH >::WISP_IMPORT_T ( event_handler  ,
caller_type   
)
template<typename EH >
Service< EH >::WISP_IMPORT_T ( event_handler  ,
protocol_processor   
)

The documentation for this class was generated from the following file:

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