TAO_AV_TCP_Factory Class Reference

#include <TCP.h>

Inheritance diagram for TAO_AV_TCP_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO_AV_TCP_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_AV_TCP_Factory (void)
 Initialization hook.
virtual ~TAO_AV_TCP_Factory (void)
virtual int init (int argc, char *argv[])
virtual int match_protocol (const char *protocol_string)
virtual TAO_AV_Acceptormake_acceptor (void)
virtual TAO_AV_Connectormake_connector (void)

Detailed Description

Definition at line 30 of file TCP.h.


Constructor & Destructor Documentation

TAO_AV_TCP_Factory::TAO_AV_TCP_Factory ( void   ) 

Initialization hook.

Definition at line 156 of file TCP.cpp.

00157 {
00158 }

TAO_AV_TCP_Factory::~TAO_AV_TCP_Factory ( void   )  [virtual]

Definition at line 160 of file TCP.cpp.

00161 {
00162 }


Member Function Documentation

int TAO_AV_TCP_Factory::init ( int  argc,
char *  argv[] 
) [virtual]

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 165 of file TCP.cpp.

00167 {
00168   return 0;
00169 }

TAO_AV_Acceptor * TAO_AV_TCP_Factory::make_acceptor ( void   )  [virtual]

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 180 of file TCP.cpp.

References ACE_DEBUG, ACE_NEW_RETURN, LM_DEBUG, and TAO_debug_level.

00181 {
00182   if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG,"TAO_AV_TCP_Factory::make_acceptor "));
00183   TAO_AV_Acceptor *acceptor = 0;
00184   ACE_NEW_RETURN (acceptor,
00185                   TAO_AV_TCP_Acceptor,
00186                   0);
00187   return acceptor;
00188 }

TAO_AV_Connector * TAO_AV_TCP_Factory::make_connector ( void   )  [virtual]

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 191 of file TCP.cpp.

References ACE_DEBUG, ACE_NEW_RETURN, LM_DEBUG, and TAO_debug_level.

00192 {
00193   if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG,"TAO_AV_TCP_Factory::make_connector "));
00194   TAO_AV_Connector *connector = 0;
00195   ACE_NEW_RETURN (connector,
00196                   TAO_AV_TCP_Connector,
00197                   0);
00198   return connector;
00199 }

int TAO_AV_TCP_Factory::match_protocol ( const char *  protocol_string  )  [virtual]

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 172 of file TCP.cpp.

References ACE_OS::strcasecmp().

00173 {
00174   if (ACE_OS::strcasecmp (protocol_string,"TCP") == 0)
00175     return 1;
00176   return 0;
00177 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:48:05 2010 for TAO_AV by  doxygen 1.4.7