#include <UDP.h>
Inheritance diagram for TAO_AV_UDP_Flow_Factory:
Public Member Functions | |
TAO_AV_UDP_Flow_Factory (void) | |
Initialization hook. | |
virtual | ~TAO_AV_UDP_Flow_Factory (void) |
virtual int | init (int argc, char *argv[]) |
virtual int | match_protocol (const char *flow_string) |
TAO_AV_Protocol_Object * | make_protocol_object (TAO_FlowSpec_Entry *entry, TAO_Base_StreamEndPoint *endpoint, TAO_AV_Flow_Handler *handler, TAO_AV_Transport *transport) |
|
Initialization hook.
Definition at line 1027 of file UDP.cpp.
01028 { 01029 } |
|
Definition at line 1031 of file UDP.cpp.
01032 { 01033 } |
|
Reimplemented from TAO_AV_Flow_Protocol_Factory. Definition at line 1036 of file UDP.cpp.
01038 {
01039 return 0;
01040 }
|
|
Reimplemented from TAO_AV_Flow_Protocol_Factory. Definition at line 1051 of file UDP.cpp. References ACE_ERROR_RETURN, ACE_NEW_RETURN, TAO_FlowSpec_Entry::flowname(), TAO_Base_StreamEndPoint::get_callback(), LM_ERROR, TAO_AV_Protocol_Object::open(), TAO_Base_StreamEndPoint::protocol_object_set(), and TAO_Base_StreamEndPoint::set_protocol_object().
01055 { 01056 TAO_AV_Callback *callback = 0; 01057 if( endpoint->get_callback (entry->flowname (), callback) ) { 01058 ACE_ERROR_RETURN ((LM_ERROR, "(%N,%l) Invalid callback\n"), 0); 01059 } 01060 01061 TAO_AV_UDP_Object *object = 0; 01062 ACE_NEW_RETURN (object, 01063 TAO_AV_UDP_Object (callback, 01064 transport), 01065 0); 01066 callback->open (object, 01067 handler); 01068 endpoint->set_protocol_object (entry->flowname (), 01069 object); 01070 01071 endpoint->protocol_object_set (); 01072 01073 return object; 01074 } |
|
Reimplemented from TAO_AV_Flow_Protocol_Factory. Definition at line 1043 of file UDP.cpp. References ACE_OS::strcasecmp().
01044 { 01045 if (ACE_OS::strcasecmp (flow_string,"UDP") == 0) 01046 return 1; 01047 return 0; 01048 } |