#include <RTCP.h>
Public Member Functions | |
TAO_AV_RTCP_Flow_Factory (void) | |
virtual | ~TAO_AV_RTCP_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) |
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, | |
ACE_TCHAR * | argv[] | |||
) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 352 of file RTCP.cpp.
{
return 0;
}
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 359 of file RTCP.cpp.
{ TAO_AV_Callback *client_cb = 0; TAO_AV_RTCP_Callback *rtcp_cb = 0; // TODO: need to handle a client callback at some point // endpoint->get_control_callback (entry->flowname (), // client_cb); TAO_AV_Protocol_Object *object = 0; ACE_NEW_RETURN (object, TAO_AV_RTCP_Object (client_cb, rtcp_cb, transport), 0); rtcp_cb->open (object, handler); return object; }
int TAO_AV_RTCP_Flow_Factory::match_protocol | ( | const char * | flow_string | ) | [virtual] |
Reimplemented from TAO_AV_Flow_Protocol_Factory.
Definition at line 343 of file RTCP.cpp.
{ if (ACE_OS::strncasecmp (flow_string,"RTCP",4) == 0) return 1; return 0; }