Savarese Software Research Corporation
service Namespace Reference

The service namespace contains classes implementing the general service protocol. More...

Classes

class   EventHandler
struct   EventLoopState
class   EventLoop
class   EventInfo
struct   message_handler_entry
class   ServiceContext
class   ServiceProtocolProcessor
class   ServiceEventHandler
class   Service

Typedefs

typedef EventPort::event_type  event_type
typedef EventPort::events_type  events_type
typedef std::vector< event_type io_event_container
typedef
EventLoopState::event_handler_container 
event_handler_container
typedef boost::function< void(const
EventInfo &)> 
timeout_handler
typedef boost::function< void(MessageInfo &)>  message_handler_type
typedef
boost::multi_index_container
< message_handler_entry,
boost::multi_index::indexed_by
< boost::multi_index::hashed_unique
< boost::multi_index::composite_key
< message_handler_entry,
boost::multi_index::member
< message_handler_entry,
wisp_message_protocol,&message_handler_entry::protocol >
, boost::multi_index::member
< message_handler_entry,
wisp_message_id,&message_handler_entry::id > > > > > 
message_handler_map
typedef
ServiceContext::timeout_handler_ptr 
timeout_ptr

Enumerations

enum   { ByExpiration, ByIdentity }

Detailed Description

The service namespace contains classes implementing the general service protocol.


Typedef Documentation

typedef EventPort::event_type service::event_type

Definition at line 33 of file EventLoop.cc.

typedef EventPort::events_type service::events_type

Definition at line 34 of file EventLoop.cc.

Definition at line 35 of file EventLoop.cc.

typedef boost::multi_index_container< message_handler_entry, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::composite_key< message_handler_entry, boost::multi_index::member<message_handler_entry, wisp_message_protocol, &message_handler_entry::protocol>, boost::multi_index::member<message_handler_entry, wisp_message_id, &message_handler_entry::id> > > > > service::message_handler_map

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

typedef boost::function<void (MessageInfo &)> service::message_handler_type

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

typedef boost::function<void (const EventInfo &)> service::timeout_handler

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


Enumeration Type Documentation

anonymous enum
Enumerator:
ByExpiration 
ByIdentity 

Definition at line 31 of file EventLoop.cc.


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