TAO_MCastConfigIf Class Reference

#include <AVStreams_i.h>

Collaboration diagram for TAO_MCastConfigIf:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Peer_Interface { VDEV = 0, FLOWENDPOINT = 1 }

Public Member Functions

 TAO_MCastConfigIf (void)
 Default constructor.

 ~TAO_MCastConfigIf (void)
 Dtor.

virtual CORBA::Boolean set_peer (CORBA::Object_ptr peer, AVStreams::streamQoS &the_qos, const AVStreams::flowSpec &the_spec ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::QoSRequestFailed, AVStreams::streamOpFailed)
virtual void configure (const CosPropertyService::Property &a_configuration ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
virtual void set_initial_configuration (const CosPropertyService::Properties &initial ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
virtual void set_format (const char *flowName, const char *format_name ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::notSupported)
virtual void set_dev_params (const char *flowName, const CosPropertyService::Properties &new_params ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::PropertyException, AVStreams::streamOpFailed)

Protected Member Functions

int in_flowSpec (const AVStreams::flowSpec &flow_spec, const char *flow_name)
 checks whether the flowname is in the flow_spec.


Protected Attributes

ACE_SOCK_Dgram_Mcast sock_mcast_
 Multicast socket.

CosPropertyService::Properties initial_configuration_
 Initial configuration to be distributed to all B parties when they join.

ACE_DLList< Peer_Infopeer_list_
ACE_DLList_Iterator< Peer_Infopeer_list_iterator_

Member Enumeration Documentation

enum TAO_MCastConfigIf::Peer_Interface
 

Enumeration values:
VDEV 
FLOWENDPOINT 

Definition at line 354 of file AVStreams_i.h.

00354 {VDEV = 0, FLOWENDPOINT=1};


Constructor & Destructor Documentation

TAO_MCastConfigIf::TAO_MCastConfigIf void   ) 
 

Default constructor.

Definition at line 1494 of file AVStreams_i.cpp.

01495   :peer_list_iterator_ (peer_list_)
01496 {
01497 }

TAO_MCastConfigIf::~TAO_MCastConfigIf void   ) 
 

Dtor.

Definition at line 1499 of file AVStreams_i.cpp.

01500 {
01501   //no-op
01502 }


Member Function Documentation

virtual void TAO_MCastConfigIf::configure const CosPropertyService::Property &a_configuration  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException) [virtual]
 

int TAO_MCastConfigIf::in_flowSpec const AVStreams::flowSpec flow_spec,
const char *  flow_name
[protected]
 

checks whether the flowname is in the flow_spec.

Definition at line 1636 of file AVStreams_i.cpp.

References AVStreams::flowSpec, ACE_OS::strlen(), and ACE_OS::strncmp().

01637 {
01638   size_t len = ACE_OS::strlen (flow_name);
01639   for (CORBA::ULong i = 0; i < flow_spec.length (); i++)
01640     if (ACE_OS::strncmp (flow_spec[i], flow_name, len) == 0)
01641       {
01642         return 1;
01643       }
01644   return 0;
01645 }

virtual void TAO_MCastConfigIf::set_dev_params const char *  flowName,
const CosPropertyService::Properties &new_params  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::PropertyException, AVStreams::streamOpFailed) [virtual]
 

virtual void TAO_MCastConfigIf::set_format const char *  flowName,
const char *format_name  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::notSupported) [virtual]
 

virtual void TAO_MCastConfigIf::set_initial_configuration const CosPropertyService::Properties &initial  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException) [virtual]
 

virtual CORBA::Boolean TAO_MCastConfigIf::set_peer CORBA::Object_ptr  peer,
AVStreams::streamQoS the_qos,
const AVStreams::flowSpec &the_spec  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::QoSRequestFailed, AVStreams::streamOpFailed) [virtual]
 


Member Data Documentation

CosPropertyService::Properties TAO_MCastConfigIf::initial_configuration_ [protected]
 

Initial configuration to be distributed to all B parties when they join.

Definition at line 408 of file AVStreams_i.h.

ACE_DLList<Peer_Info> TAO_MCastConfigIf::peer_list_ [protected]
 

Definition at line 410 of file AVStreams_i.h.

ACE_DLList_Iterator<Peer_Info> TAO_MCastConfigIf::peer_list_iterator_ [protected]
 

Definition at line 411 of file AVStreams_i.h.

ACE_SOCK_Dgram_Mcast TAO_MCastConfigIf::sock_mcast_ [protected]
 

Multicast socket.

Definition at line 405 of file AVStreams_i.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:48:38 2006 for TAO_AV by doxygen 1.3.6