TAO_AV_RTCP_Flow_Factory Class Reference

#include <RTCP.h>

Inheritance diagram for TAO_AV_RTCP_Flow_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO_AV_RTCP_Flow_Factory:

Collaboration graph
[legend]
List of all members.

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_Objectmake_protocol_object (TAO_FlowSpec_Entry *entry, TAO_Base_StreamEndPoint *endpoint, TAO_AV_Flow_Handler *handler, TAO_AV_Transport *transport)

Detailed Description

Definition at line 118 of file RTCP.h.


Constructor & Destructor Documentation

TAO_AV_RTCP_Flow_Factory::TAO_AV_RTCP_Flow_Factory ( void   ) 

Definition at line 333 of file RTCP.cpp.

00334 {
00335 }

TAO_AV_RTCP_Flow_Factory::~TAO_AV_RTCP_Flow_Factory ( void   )  [virtual]

Definition at line 337 of file RTCP.cpp.

00338 {
00339 }


Member Function Documentation

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

Reimplemented from TAO_AV_Flow_Protocol_Factory.

Definition at line 351 of file RTCP.cpp.

00353 {
00354   return 0;
00355 }

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 }


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