#include <RTP.h>
Public Member Functions | |
TAO_AV_RTP_Flow_Factory (void) | |
Initialization hook. | |
virtual | ~TAO_AV_RTP_Flow_Factory (void) |
virtual int | init (int argc, ACE_TCHAR *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) |
virtual const char * | control_flow_factory (void) |
Definition at line 402 of file RTP.h.
TAO_AV_RTP_Flow_Factory::TAO_AV_RTP_Flow_Factory | ( | void | ) |
TAO_AV_RTP_Flow_Factory::~TAO_AV_RTP_Flow_Factory | ( | void | ) | [virtual] |
const char * TAO_AV_RTP_Flow_Factory::control_flow_factory | ( | void | ) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 771 of file RTP.cpp.
{ return "RTCP"; }
int TAO_AV_RTP_Flow_Factory::init | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 728 of file RTP.cpp.
{
return 0;
}
TAO_AV_Protocol_Object * TAO_AV_RTP_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 735 of file RTP.cpp.
{ TAO_AV_Callback *callback = 0; if( endpoint->get_callback (entry->flowname (), callback) ) { ACE_ERROR_RETURN ((LM_ERROR, "(%N,%l) Invalid callback\n"), 0); } TAO_AV_Protocol_Object *object = 0; ACE_NEW_RETURN (object, TAO_AV_RTP_Object (callback, transport), 0); callback->open (object, handler); endpoint->set_protocol_object (entry->flowname (), object); endpoint->protocol_object_set (); return object; }
int TAO_AV_RTP_Flow_Factory::match_protocol | ( | const char * | flow_string | ) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 761 of file RTP.cpp.
{ if (ACE_OS::strncasecmp (flow_string,"RTP",3) == 0) { return 1; } return 0; }