Public Methods |
| TAO_DIOP_Connection_Handler (ACE_Thread_Manager *t=0) |
| TAO_DIOP_Connection_Handler (TAO_ORB_Core *orb_core, CORBA::Boolean flag, void *arg) |
| Constructor. <arg> parameter is used by the Acceptor to pass the protocol configuration properties for this connection. More...
|
| ~TAO_DIOP_Connection_Handler (void) |
| Destructor. More...
|
virtual int | open (void *) |
| Called by the <Strategy_Acceptor> when the handler is completely connected. Argument is unused. More...
|
virtual int | open_server (void) |
virtual int | activate (long flags=THR_NEW_LWP, 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_names[]=0) |
| = Active object activation method. More...
|
virtual int | svc (void) |
| Only used when the handler is turned into an active object by calling <activate>. This serves as the event loop in such cases. More...
|
virtual int | handle_close (ACE_HANDLE=ACE_INVALID_HANDLE, ACE_Reactor_Mask=ACE_Event_Handler::NULL_MASK) |
| Perform appropriate closing. More...
|
virtual int | resume_handler (void) |
| Event handler overload.. More...
|
int | add_transport_to_cache (void) |
| Add ourselves to Cache. More...
|
ACE_HANDLE | get_handle (void) const |
const ACE_INET_Addr & | addr (void) |
void | addr (const ACE_INET_Addr &addr) |
const ACE_INET_Addr & | local_addr (void) |
void | local_addr (const ACE_INET_Addr &addr) |
const ACE_INET_Addr & | server_addr (void) |
void | server_addr (const ACE_INET_Addr &addr) |
const ACE_SOCK_Dgram & | dgram (void) |
Protected Methods |
virtual int | handle_input (ACE_HANDLE=ACE_INVALID_HANDLE) |
| = Event Handler overloads Reads a message from the <peer()>, dispatching and servicing it appropriately. handle_input() just delegates on handle_input_i() which timeouts after <max_wait_time>, this is used in thread-per-connection to ensure that server threads eventually exit. More...
|
virtual int | handle_cleanup () |
Protected Attributes |
ACE_SOCK_Dgram | udp_socket_ |
ACE_INET_Addr | addr_ |
ACE_INET_Addr | local_addr_ |
Private Methods |
void | handle_close_i (void) |
| Perform appropriate closing. More...
|
Private Attributes |
TAO_DIOP_Properties * | tcp_properties_ |
| TCP configuration for this connection. More...
|