|
| TAO_Strategy_Acceptor (TAO_Acceptor *acceptor) |
|
virtual int | handle_accept_error (void) |
|
virtual int | handle_timeout (const ACE_Time_Value &, const void *) |
|
| ACE_Strategy_Acceptor (const ACE_TCHAR service_name[]=0, const ACE_TCHAR service_description[]=0, int use_select=1, int reuse_addr=1) |
|
| ACE_Strategy_Acceptor (const typename PEER_ACCEPTOR::PEER_ADDR &local_addr, ACE_Reactor *=ACE_Reactor::instance(), ACE_Creation_Strategy< SVC_HANDLER > *=0, ACE_Accept_Strategy< SVC_HANDLER, PEER_ACCEPTOR > *=0, ACE_Concurrency_Strategy< SVC_HANDLER > *=0, ACE_Scheduling_Strategy< SVC_HANDLER > *=0, const ACE_TCHAR service_name[]=0, const ACE_TCHAR service_description[]=0, int use_select=1, int reuse_addr=1) |
|
virtual int | open (const typename PEER_ACCEPTOR::PEER_ADDR &local_addr, ACE_Reactor *reactor, int flags=0, int use_select=1, int reuse_addr=1) |
|
virtual int | open (const typename PEER_ACCEPTOR::PEER_ADDR &, ACE_Reactor *=ACE_Reactor::instance(), ACE_Creation_Strategy< SVC_HANDLER > *=0, ACE_Accept_Strategy< SVC_HANDLER, PEER_ACCEPTOR > *=0, ACE_Concurrency_Strategy< SVC_HANDLER > *=0, ACE_Scheduling_Strategy< SVC_HANDLER > *=0, const ACE_TCHAR *service_name=0, const ACE_TCHAR *service_description=0, int use_select=1, int reuse_addr=1) |
|
virtual | ~ACE_Strategy_Acceptor (void) |
|
virtual | operator PEER_ACCEPTOR & () const |
|
virtual PEER_ACCEPTOR & | acceptor (void) const |
|
virtual ACE_HANDLE | get_handle (void) const |
|
void | dump (void) const |
|
virtual int | suspend (void) |
|
virtual int | resume (void) |
|
| ACE_Acceptor (ACE_Reactor *=0, int use_select=1) |
|
| ACE_Acceptor (const typename PEER_ACCEPTOR::PEER_ADDR &local_addr, ACE_Reactor *reactor=ACE_Reactor::instance(), int flags=0, int use_select=1, int reuse_addr=1) |
|
virtual | ~ACE_Acceptor (void) |
|
virtual int | close (void) |
|
void | dump (void) const |
|
| ACE_Service_Object (ACE_Reactor *=0) |
|
virtual | ~ACE_Service_Object (void) |
|
virtual | ~ACE_Event_Handler (void) |
|
virtual void | set_handle (ACE_HANDLE) |
|
virtual int | priority (void) const |
|
virtual void | priority (int priority) |
|
virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
|
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
|
virtual int | handle_exit (ACE_Process *) |
|
virtual int | resume_handler (void) |
|
virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
|
virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
|
virtual void | reactor (ACE_Reactor *reactor) |
|
virtual ACE_Reactor * | reactor (void) const |
|
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
|
virtual Reference_Count | add_reference (void) |
|
virtual Reference_Count | remove_reference (void) |
|
Reference_Counting_Policy & | reference_counting_policy (void) |
|
| ACE_Shared_Object (void) |
|
virtual | ~ACE_Shared_Object (void) |
|
|
typedef ACE_Creation_Strategy< SVC_HANDLER > | creation_strategy_type |
|
typedef ACE_Accept_Strategy< SVC_HANDLER, PEER_ACCEPTOR > | accept_strategy_type |
|
typedef ACE_Concurrency_Strategy< SVC_HANDLER > | concurrency_strategy_type |
|
typedef ACE_Scheduling_Strategy< SVC_HANDLER > | scheduling_strategy_type |
|
typedef ACE_Acceptor< SVC_HANDLER, PEER_ACCEPTOR > | base_type |
|
typedef ACE_Creation_Strategy< SVC_HANDLER > | CREATION_STRATEGY |
|
typedef ACE_Accept_Strategy< SVC_HANDLER, PEER_ACCEPTOR > | ACCEPT_STRATEGY |
|
typedef ACE_Concurrency_Strategy< SVC_HANDLER > | CONCURRENCY_STRATEGY |
|
typedef ACE_Scheduling_Strategy< SVC_HANDLER > | SCHEDULING_STRATEGY |
|
typedef PEER_ACCEPTOR::PEER_ADDR | addr_type |
|
typedef PEER_ACCEPTOR | acceptor_type |
|
typedef SVC_HANDLER | handler_type |
|
typedef SVC_HANDLER::stream_type | stream_type |
|
typedef long | Reference_Count |
|
static ACE_THR_FUNC_RETURN | read_adapter (void *event_handler) |
|
static int | register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED) |
|
static int | remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr) |
|
| ACE_ALLOC_HOOK_DECLARE |
|
| ACE_ALLOC_HOOK_DECLARE |
|
| LO_PRIORITY |
|
| HI_PRIORITY |
|
| NULL_MASK |
|
| READ_MASK |
|
| WRITE_MASK |
|
| EXCEPT_MASK |
|
| ACCEPT_MASK |
|
| CONNECT_MASK |
|
| TIMER_MASK |
|
| QOS_MASK |
|
| GROUP_QOS_MASK |
|
| SIGNAL_MASK |
|
| ALL_EVENTS_MASK |
|
| RWE_MASK |
|
| DONT_CALL |
|
| ACE_EVENT_HANDLER_NOT_RESUMED |
|
| ACE_REACTOR_RESUMES_HANDLER |
|
| ACE_APPLICATION_RESUMES_HANDLER |
|
typedef ACE_Atomic_Op< ACE_SYNCH_MUTEX, Reference_Count > | Atomic_Reference_Count |
|
virtual int | fini (void) |
|
virtual int | info (ACE_TCHAR **buf, size_t) const |
|
virtual int | make_svc_handler (SVC_HANDLER *&) |
|
virtual int | accept_svc_handler (SVC_HANDLER *svc_handler) |
|
virtual int | activate_svc_handler (SVC_HANDLER *svc_handler) |
|
virtual int | handle_close (ACE_HANDLE=ACE_INVALID_HANDLE, ACE_Reactor_Mask=ACE_Event_Handler::ALL_EVENTS_MASK) |
|
virtual int | handle_signal (int signum, siginfo_t *, ucontext_t *) |
|
virtual int | handle_input (ACE_HANDLE) |
|
virtual int | init (int argc, ACE_TCHAR *argv[]) |
|
| ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY) |
|
CREATION_STRATEGY * | creation_strategy_ |
|
bool | delete_creation_strategy_ |
|
ACCEPT_STRATEGY * | accept_strategy_ |
|
bool | delete_accept_strategy_ |
|
CONCURRENCY_STRATEGY * | concurrency_strategy_ |
|
bool | delete_concurrency_strategy_ |
|
SCHEDULING_STRATEGY * | scheduling_strategy_ |
|
bool | delete_scheduling_strategy_ |
|
ACE_TCHAR * | service_name_ |
|
ACE_TCHAR * | service_description_ |
|
PEER_ACCEPTOR::PEER_ADDR | service_addr_ |
|
PEER_ACCEPTOR | peer_acceptor_ |
|
PEER_ACCEPTOR::PEER_ADDR | peer_acceptor_addr_ |
|
int | flags_ |
|
int | use_select_ |
|
int | reuse_addr_ |
|
Atomic_Reference_Count | reference_count_ |
|
template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1>
class TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
This is a drop-in replacement class for the ACE_Strategy_Acceptor. It provides all of the same functionality and the additional functionality of handling accept() errors with some sort of configured action. All of the actual code is in the TAO_Acceptor to avoid multiply-instantiated code that would be, in effect, identical.
It is not declared nested within TAO_Acceptor as I originally wanted because it caused an internal compiler error for the Tornado 2.2.1 compiler.