TAO_AV_UDP_Factory Class Reference

#include <UDP.h>

Inheritance diagram for TAO_AV_UDP_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO_AV_UDP_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_AV_UDP_Factory (void)
 Initialization hook.
virtual ~TAO_AV_UDP_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 29 of file UDP.h.


Constructor & Destructor Documentation

TAO_AV_UDP_Factory::TAO_AV_UDP_Factory ( void   ) 

Initialization hook.

Definition at line 916 of file UDP.cpp.

00917 {
00918 }

TAO_AV_UDP_Factory::~TAO_AV_UDP_Factory ( void   )  [virtual]

Definition at line 920 of file UDP.cpp.

00921 {
00922 }


Member Function Documentation

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

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 957 of file UDP.cpp.

00959 {
00960   return 0;
00961 }

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

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 935 of file UDP.cpp.

References ACE_DEBUG, ACE_NEW_RETURN, LM_DEBUG, and TAO_debug_level.

00936 {
00937   if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG,"TAO_AV_UDP_Factory::make_acceptor\n"));
00938   TAO_AV_Acceptor *acceptor = 0;
00939   ACE_NEW_RETURN (acceptor,
00940                   TAO_AV_UDP_Acceptor,
00941                   0);
00942   return acceptor;
00943 }

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

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 946 of file UDP.cpp.

References ACE_DEBUG, ACE_NEW_RETURN, LM_DEBUG, and TAO_debug_level.

00947 {
00948   if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG,"TAO_AV_UDP_Factory::make_connector\n"));
00949   TAO_AV_Connector *connector = 0;
00950   ACE_NEW_RETURN (connector,
00951                   TAO_AV_UDP_Connector,
00952                   0);
00953   return connector;
00954 }

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

Reimplemented from TAO_AV_Transport_Factory.

Definition at line 925 of file UDP.cpp.

References ACE_OS::strcasecmp().

00926 {
00927   if (ACE_OS::strcasecmp (protocol_string,"UDP") == 0)
00928     return 1;
00929   if (ACE_OS::strcasecmp (protocol_string,"RTP/UDP") == 0)
00930     return 1;
00931   return 0;
00932 }


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