#include <RTCP.h>
Inheritance diagram for TAO_AV_RTCP_Flow_Factory:
Public Member Functions | |
TAO_AV_RTCP_Flow_Factory (void) | |
virtual | ~TAO_AV_RTCP_Flow_Factory (void) |
virtual int | init (int argc, char *argv[]) |
virtual int | match_protocol (const char *flow_string) |
virtual TAO_AV_Protocol_Object * | make_protocol_object (TAO_FlowSpec_Entry *entry, TAO_Base_StreamEndPoint *endpoint, TAO_AV_Flow_Handler *handler, TAO_AV_Transport *transport) |
Definition at line 118 of file RTCP.h.
TAO_AV_RTCP_Flow_Factory::TAO_AV_RTCP_Flow_Factory | ( | void | ) |
TAO_AV_RTCP_Flow_Factory::~TAO_AV_RTCP_Flow_Factory | ( | void | ) | [virtual] |
int TAO_AV_RTCP_Flow_Factory::init | ( | int | argc, | |
char * | argv[] | |||
) | [virtual] |
TAO_AV_Protocol_Object * TAO_AV_RTCP_Flow_Factory::make_protocol_object | ( | TAO_FlowSpec_Entry * | entry, | |
TAO_Base_StreamEndPoint * | endpoint, | |||
TAO_AV_Flow_Handler * | handler, | |||
TAO_AV_Transport * | transport | |||
) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 358 of file RTCP.cpp.
References ACE_NEW_RETURN, and TAO_AV_Callback::open().
00362 { 00363 TAO_AV_Callback *client_cb = 0; 00364 TAO_AV_RTCP_Callback *rtcp_cb = 0; 00365 00366 // TODO: need to handle a client callback at some point 00367 // endpoint->get_control_callback (entry->flowname (), 00368 // client_cb); 00369 00370 TAO_AV_Protocol_Object *object = 0; 00371 ACE_NEW_RETURN (object, 00372 TAO_AV_RTCP_Object (client_cb, 00373 rtcp_cb, 00374 transport), 00375 0); 00376 00377 rtcp_cb->open (object, handler); 00378 00379 return object; 00380 }
int TAO_AV_RTCP_Flow_Factory::match_protocol | ( | const char * | flow_string | ) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 342 of file RTCP.cpp.
References ACE_OS::strncasecmp().
00343 { 00344 if (ACE_OS::strncasecmp (flow_string,"RTCP",4) == 0) 00345 return 1; 00346 00347 return 0; 00348 }