service::Service< EH > Class Template Reference
#include <service.h>
Public Types |
|
| typedef EH | event_handler |
| typedef event_handler::caller_type | caller_type |
| typedef event_handler::protocol_processor |
protocol_processor |
Public Member Functions |
|
| Service (const string &connection="", const string &name="", const unsigned int message_capacity=Message::DefaultCapacity) | |
| template<typename Initializer > | |
| Service (const Initializer &initializer, const string &connection="", const string &name="", const unsigned int message_capacity=Message::DefaultCapacity) | |
| const 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::Service< EH >
Definition at line 553 of file service/service.h.
Member Typedef Documentation
template<typename EH >
| typedef event_handler :: caller_type service::Service< EH >::caller_type |
Definition at line 556 of file service/service.h.
template<typename EH >
| typedef EH service::Service< EH >::event_handler |
Definition at line 555 of file service/service.h.
template<typename EH >
| typedef event_handler :: protocol_processor service::Service< EH >::protocol_processor |
Definition at line 557 of file service/service.h.
Constructor & Destructor Documentation
template<typename EH >
| service::Service< EH >::Service | ( | const string & | connection = "", |
| const string & | name = "", |
||
| const unsigned int | message_capacity = Message::DefaultCapacity |
||
| ) | [inline, explicit] |
Definition at line 571 of file service/service.h.
template<typename EH >
template<typename Initializer >
| service::Service< EH >::Service | ( | const Initializer & | initializer, |
| const string & | connection = "", |
||
| const string & | name = "", |
||
| const unsigned int | message_capacity = Message::DefaultCapacity |
||
| ) | [inline, explicit] |
Definition at line 581 of file service/service.h.
Member Function Documentation
template<typename EH >
| const string& service::Service< EH >::name | ( | ) | const [inline] |
Definition at line 591 of file service/service.h.
template<typename EH >
| protocol_processor& service::Service< EH >::protocol | ( | ) | [inline, protected] |
Definition at line 565 of file service/service.h.
template<typename EH >
| void service::Service< EH >::start | ( | EventLoop & | loop, |
| unsigned int | call_timeout | ||
| ) | [inline] |
Definition at line 599 of file service/service.h.
template<typename EH >
| protocol_processor::State service::Service< EH >::state | ( | ) | [inline] |
Definition at line 595 of file service/service.h.
template<typename EH >
| void service::Service< EH >::stop | ( | ) | [inline] |
Definition at line 603 of file service/service.h.
The documentation for this class was generated from the following file:
Copyright © 2006-2010 Savarese Software Research Corporation. All rights reserved.
Copyright © 2011 Savarese Software Research Corporation. All rights reserved