TAO_Strategies 3.1.4
|
Handles requests on a single connection. More...
#include <SHMIOP_Connection_Handler.h>
Public Member Functions | |
TAO_SHMIOP_Connection_Handler (ACE_Thread_Manager *t=0) | |
Constructor. | |
TAO_SHMIOP_Connection_Handler (TAO_ORB_Core *orb_core) | |
Constructor. | |
~TAO_SHMIOP_Connection_Handler () | |
Destructor. | |
virtual int | open (void *) |
virtual int | open_handler (void *) |
int | close (u_long=0) |
Event Handler overloads | |
virtual int | resume_handler () |
Add ourselves to Cache. | |
virtual int | close_connection () |
Add ourselves to Cache. | |
virtual int | handle_input (ACE_HANDLE) |
Add ourselves to Cache. | |
virtual int | handle_output (ACE_HANDLE) |
Add ourselves to Cache. | |
virtual int | handle_close (ACE_HANDLE, ACE_Reactor_Mask) |
Add ourselves to Cache. | |
virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
Add ourselves to Cache. | |
int | add_transport_to_cache () |
Add ourselves to Cache. | |
![]() | |
ACE_Svc_Handler (ACE_Thread_Manager *thr_mgr=0, ACE_Message_Queue< SYNCH_TRAITS > *mq=0, ACE_Reactor *reactor=ACE_Reactor::instance()) | |
virtual | ~ACE_Svc_Handler () |
virtual int | idle (u_long flags=0) |
virtual ACE_Recyclable_State | recycle_state () const |
virtual int | recycle_state (ACE_Recyclable_State new_state) |
virtual void | cleanup_hint (void **act_holder=0) |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
virtual int | fini () |
virtual int | info (ACE_TCHAR **info_string, size_t length) const |
virtual ACE_HANDLE | get_handle () const |
virtual void | set_handle (ACE_HANDLE) |
PEER_STREAM & | peer () const |
void * | operator new (size_t n) |
void * | operator new (size_t n, const std::nothrow_t &) noexcept |
void | operator delete (void *p, const std::nothrow_t &) noexcept |
void * | operator new (size_t n, void *p) |
virtual void | destroy () |
void | operator delete (void *) |
void | operator delete (void *, void *) |
void | shutdown () |
void | dump () const |
virtual void | recycler (ACE_Connection_Recycling_Strategy *recycler, const void *recycling_act) |
virtual ACE_Connection_Recycling_Strategy * | recycler () const |
virtual const void * | recycling_act () const |
virtual int | recycle (void *=0) |
![]() | |
ACE_Task (ACE_Thread_Manager *thr_mgr=0, ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > *mq=0) | |
virtual | ~ACE_Task () |
ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * | msg_queue () |
void | msg_queue (ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > *) |
ACE_Time_Value_T< TIME_POLICY > | gettimeofday () const |
void | set_time_policy (TIME_POLICY const &time_policy) |
int | putq (ACE_Message_Block *, ACE_Time_Value *timeout=0) |
int | getq (ACE_Message_Block *&mb, ACE_Time_Value *timeout=0) |
int | ungetq (ACE_Message_Block *, ACE_Time_Value *timeout=0) |
int | reply (ACE_Message_Block *mb, ACE_Time_Value *tv=0) |
int | put_next (ACE_Message_Block *msg, ACE_Time_Value *timeout=0) |
const ACE_TCHAR * | name () const |
virtual ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | next () |
void | next (ACE_Task< ACE_SYNCH_USE, TIME_POLICY > *) |
ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | sibling () |
virtual int | flush (u_long flag=ACE_Task_Flags::ACE_FLUSHALL) |
void | water_marks (ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds, size_t) |
void | dump () const |
![]() | |
ACE_Task_Base (ACE_Thread_Manager *=0) | |
virtual | ~ACE_Task_Base () |
virtual int | module_closed () |
virtual int | put (ACE_Message_Block *, ACE_Time_Value *=0) |
virtual int | svc () |
virtual int | activate (long flags=THR_NEW_LWP|THR_JOINABLE|THR_INHERIT_SCHED, int n_threads=1, int force_active=0, long priority=ACE_DEFAULT_THREAD_PRIORITY, int grp_id=-1, ACE_Task_Base *task=0, ACE_hthread_t thread_handles[]=0, void *stack[]=0, size_t stack_size[]=0, ACE_thread_t thread_ids[]=0, const char *thr_name[]=0) |
virtual int | wait () |
virtual int | suspend () |
virtual int | resume () |
int | grp_id () const |
void | grp_id (int) |
ACE_Thread_Manager * | thr_mgr () const |
void | thr_mgr (ACE_Thread_Manager *) |
int | is_reader () const |
int | is_writer () const |
size_t | thr_count () const |
ACE_thread_t | last_thread () const |
![]() | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object () |
![]() | |
virtual | ~ACE_Event_Handler ()=default |
virtual int | priority () const |
virtual void | priority (int priority) |
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_exit (ACE_Process *) |
virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
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 () const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface () const |
virtual Reference_Count | add_reference () |
virtual Reference_Count | remove_reference () |
Reference_Counting_Policy & | reference_counting_policy () |
![]() | |
ACE_Shared_Object () | |
virtual | ~ACE_Shared_Object () |
![]() | |
TAO_Connection_Handler (TAO_ORB_Core *orb_core) | |
virtual | ~TAO_Connection_Handler () |
TAO_Transport * | transport () |
void | transport (TAO_Transport *transport) |
bool | is_closed () const |
bool | is_open () const |
bool | is_timeout () const |
bool | is_connecting () const |
int | svc_i () |
virtual int | close_handler (u_long flags=0) |
void | connection_pending () |
void | cancel_pending_connection () |
virtual int | set_dscp_codepoint (CORBA::Boolean set_network_priority) |
virtual int | set_dscp_codepoint (CORBA::Long dscp_codepoint) |
![]() | |
TAO_LF_CH_Event () | |
virtual | ~TAO_LF_CH_Event () |
![]() | |
TAO_LF_Event () | |
virtual | ~TAO_LF_Event () |
void | state_changed (LFS_STATE new_state, TAO_Leader_Follower &lf) |
bool | successful (TAO_Leader_Follower &lf) const |
bool | error_detected (TAO_Leader_Follower &lf) const |
bool | keep_waiting (TAO_Leader_Follower &lf) const |
void | reset_state (LFS_STATE new_state) |
Protected Member Functions | |
TAO_Connection Handler overloads | |
virtual int | release_os_resources () |
virtual int | handle_write_ready (const ACE_Time_Value *timeout) |
![]() | |
ACE_Event_Handler (ACE_Reactor *=nullptr, int priority=ACE_Event_Handler::LO_PRIORITY) | |
![]() | |
TAO_ORB_Core * | orb_core () |
int | shared_open () |
int | set_socket_option (ACE_SOCK &sock, int snd_size, int rcv_size) |
int | handle_output_eh (ACE_HANDLE h, ACE_Event_Handler *eh) |
int | handle_input_eh (ACE_HANDLE h, ACE_Event_Handler *eh) |
int | handle_input_internal (ACE_HANDLE h, ACE_Event_Handler *eh) |
int | close_connection_eh (ACE_Event_Handler *eh) |
virtual void | pre_io_hook (int &return_value) |
virtual void | pos_io_hook (int &return_value) |
![]() | |
virtual bool | is_state_final () const |
![]() | |
bool | keep_waiting_i () const |
Handles requests on a single connection.
The Connection handler which is common for the Acceptor and the Connector
TAO_SHMIOP_Connection_Handler::TAO_SHMIOP_Connection_Handler | ( | ACE_Thread_Manager * | t = 0 | ) |
Constructor.
TAO_SHMIOP_Connection_Handler::TAO_SHMIOP_Connection_Handler | ( | TAO_ORB_Core * | orb_core | ) |
Constructor.
TAO_SHMIOP_Connection_Handler::~TAO_SHMIOP_Connection_Handler | ( | ) |
Destructor.
int TAO_SHMIOP_Connection_Handler::add_transport_to_cache | ( | ) |
Add ourselves to Cache.
|
virtual |
Close called by the Acceptor or Connector when connection establishment fails.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
virtual |
Add ourselves to Cache.
Implements TAO_Connection_Handler.
|
virtual |
Add ourselves to Cache.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
virtual |
Add ourselves to Cache.
Reimplemented from ACE_Event_Handler.
|
virtual |
Add ourselves to Cache.
Reimplemented from ACE_Event_Handler.
|
virtual |
Add ourselves to Cache.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
protectedvirtual |
Reimplemented from TAO_Connection_Handler.
|
virtual |
Called by the <Strategy_Acceptor> when the handler is completely connected. Argument is unused.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
virtual |
Connection_Handler overloads
Implements TAO_Connection_Handler.
|
protectedvirtual |
Reimplemented from TAO_Connection_Handler.
|
virtual |
Add ourselves to Cache.
Reimplemented from ACE_Event_Handler.