Public Member Functions

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, ACE_TCHAR *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 334 of file RTCP.cpp.

{
}

TAO_AV_RTCP_Flow_Factory::~TAO_AV_RTCP_Flow_Factory ( void   )  [virtual]

Definition at line 338 of file RTCP.cpp.

{
}


Member Function Documentation

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;
}


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines