channel::Tcp_ConnHandler< Channel > Class Template Reference

#include <TcpSockConnector.h>

Inheritance diagram for channel::Tcp_ConnHandler< Channel >:

channel::ConnHandler< Channel, TcpSockTransport< Channel > > List of all members.

Public Types

typedef ACE_Svc_Handler< ACE_SOCK_STREAM,
ACE_NULL_SYNCH > 
PARENT

Public Member Functions

 Tcp_ConnHandler ()
virtual int open (void *)
virtual int close (u_long flag=0)
virtual void shut_down (void)
virtual ACE_SOCK_Stream & peer_stream (void)
virtual int svc (void)

Detailed Description

template<class Channel>
class channel::Tcp_ConnHandler< Channel >

Tcp_ConnHandler: a single thread reading from an open socket since we are not using msgQ in ACE_Svc_Handler, NULL_SYNCH

Definition at line 72 of file TcpSockConnector.h.


Member Typedef Documentation

template<class Channel>
typedef ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> channel::Tcp_ConnHandler< Channel >::PARENT
 

Definition at line 76 of file TcpSockConnector.h.


Constructor & Destructor Documentation

template<class Channel>
channel::Tcp_ConnHandler< Channel >::Tcp_ConnHandler  )  [inline]
 

Definition at line 77 of file TcpSockConnector.h.


Member Function Documentation

template<class Channel>
virtual int channel::Tcp_ConnHandler< Channel >::close u_long  flag = 0  )  [inline, virtual]
 

Definition at line 88 of file TcpSockConnector.h.

References channel::ConnHandler< Channel, TcpSockTransport< Channel > >::cm_, and channel::Connector< Channel, Transport >::exit_sema_.

template<class Channel>
virtual int channel::Tcp_ConnHandler< Channel >::open void *   )  [inline, virtual]
 

Definition at line 78 of file TcpSockConnector.h.

template<class Channel>
virtual ACE_SOCK_Stream& channel::Tcp_ConnHandler< Channel >::peer_stream void   )  [inline, virtual]
 

the interface to remote peer, need more generic interface when connections are not tcp_sock or unix_sock

Implements channel::ConnHandler< Channel, TcpSockTransport< Channel > >.

Definition at line 108 of file TcpSockConnector.h.

template<class Channel>
virtual void channel::Tcp_ConnHandler< Channel >::shut_down void   )  [inline, virtual]
 

Implements channel::ConnHandler< Channel, TcpSockTransport< Channel > >.

Definition at line 101 of file TcpSockConnector.h.

template<class Channel>
virtual int channel::Tcp_ConnHandler< Channel >::svc void   )  [inline, virtual]
 

Definition at line 111 of file TcpSockConnector.h.

References channel::ConnHandler< Channel, TcpSockTransport< Channel > >::service().


The documentation for this class was generated from the following file:
Generated on Mon Feb 27 19:59:24 2006 for channel by  doxygen 1.4.6-NO