#include <service.h>
Public Types |
|
typedef PP | protocol_processor |
Public Member Functions |
|
WISP_IMPORT_T (protocol_processor, caller_type) | |
ServiceEventHandler (caller_type &caller) | |
template<typename Initializer > | |
ServiceEventHandler (caller_type &caller, const Initializer &initializer) | |
virtual | ~ServiceEventHandler ()=default |
protocol_processor::State | state () const |
virtual int | event_descriptor () const |
virtual void | handle_read (const EventInfo &info) |
virtual void | handle_timeout (const EventInfo &info) |
protocol_processor & | protocol () |
void | start (EventLoop &loop, const unsigned int call_timeout) |
void | stop () |
virtual void | handle_write (const EventInfo &info) |
virtual void | handle_error (const EventInfo &info) |
virtual void | handle_hangup (const EventInfo &info) |
Static Public Attributes |
|
static const int | NoDescriptor = -1 |
Protected Member Functions |
|
virtual void | remove_handler (EventLoop &loop) |
const TimeValue & | timeout () const |
const TimeValue & | expiration () const |
bool | has_timeout () const |
Detailed Description
template<typename PP>
class ServiceEventHandler< PP >
Definition at line 428 of file service/service.h.
Member Typedef Documentation
typedef PP ServiceEventHandler< PP >::protocol_processor |
Definition at line 430 of file service/service.h.
Constructor & Destructor Documentation
|
inlineexplicit |
Definition at line 455 of file service/service.h.
|
inlineexplicit |
Definition at line 464 of file service/service.h.
|
virtualdefault |
Member Function Documentation
|
inlinevirtual |
Reimplemented from EventHandler.
Definition at line 479 of file service/service.h.
|
inlineprotectedinherited |
Definition at line 60 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtualinherited |
Definition at line 90 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtualinherited |
Definition at line 92 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtual |
Reimplemented from EventHandler.
Definition at line 483 of file service/service.h.
References EventInfo::event_loop(), ServiceEventHandler< PP >::remove_handler(), ServiceEventHandler< PP >::state(), and ssrc::wisp::protocol::TwoWayResponse.
|
inlinevirtual |
Reimplemented from EventHandler.
Definition at line 519 of file service/service.h.
|
inlinevirtualinherited |
Definition at line 84 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlineprotectedinherited |
Definition at line 64 of file EventHandler.h.
References InfiniteTimeValue.
Referenced by EventLoop::start().
|
inline |
Definition at line 539 of file service/service.h.
|
inlineprotectedvirtual |
Definition at line 444 of file service/service.h.
References EventLoop::remove_handler.
Referenced by ServiceEventHandler< PP >::handle_read().
|
inline |
Definition at line 543 of file service/service.h.
References EventLoop::Read, and EventLoop::start().
|
inline |
Definition at line 475 of file service/service.h.
Referenced by ServiceEventHandler< PP >::handle_read().
|
inline |
Definition at line 553 of file service/service.h.
|
inlineprotectedinherited |
Definition at line 56 of file EventHandler.h.
Referenced by EventLoop::start().
ServiceEventHandler< PP >::WISP_IMPORT_T | ( | protocol_processor | , |
caller_type | |||
) |
Member Data Documentation
|
staticinherited |
Definition at line 70 of file EventHandler.h.
Referenced by EventHandler::event_descriptor().
The documentation for this class was generated from the following file: