TAO_AV_Core Class Reference

This class encapsulates access to the TAO AV Core's resources and its state. More...

#include <AV_Core.h>

Collaboration diagram for TAO_AV_Core:

Collaboration graph
[legend]
List of all members.

Public Types

enum  EndPoint { TAO_AV_ENDPOINT_A, TAO_AV_ENDPOINT_B }
enum  Protocol {
  TAO_AV_NOPROTOCOL = -1, TAO_AV_TCP = 0, TAO_AV_UDP = 1, TAO_AV_AAL5 = 2,
  TAO_AV_AAL3_4 = 3, TAO_AV_AAL1 = 4, TAO_AV_RTP_UDP = 5, TAO_AV_RTP_AAL5 = 6,
  TAO_AV_IPX = 7, TAO_AV_SFP_UDP = 8, TAO_AV_UDP_MCAST = 9, TAO_AV_RTP_UDP_MCAST = 10,
  TAO_AV_SFP_UDP_MCAST = 11, TAO_AV_QOS_UDP = 12, TAO_AV_USERDEFINED_UDP = 13, TAO_AV_USERDEFINED_UDP_MCAST = 14,
  TAO_AV_SCTP_SEQ = 15
}
enum  Flow_Component { TAO_AV_DATA = 1, TAO_AV_CONTROL = 2, TAO_AV_BOTH = 3 }

Public Member Functions

 TAO_AV_Core (void)
 Default constructor.
 ~TAO_AV_Core (void)
 Destructor.
int init (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa ACE_ENV_ARG_DECL)
int run (void)
int stop_run (void)
int init_forward_flows (TAO_Base_StreamEndPoint *endpoint, TAO_AV_FlowSpecSet &flow_spec_set, EndPoint direction, AVStreams::flowSpec &flow_spec)
int init_reverse_flows (TAO_Base_StreamEndPoint *endpoint, TAO_AV_FlowSpecSet &forward_flow_spec_set, TAO_AV_FlowSpecSet &reverse_flow_spec_set, EndPoint direction)
int init_transport_factories (void)
int init_flow_protocol_factories (void)
int load_default_transport_factories (void)
int load_default_flow_protocol_factories (void)
TAO_AV_Acceptorget_acceptor (const char *flowname)
 = Get the acceptor registry
TAO_AV_Connectorget_connector (const char *flowname)
int remove_acceptor (const char *flowname)
int remove_connector (const char *flowname)
TAO_AV_Connector_Registryconnector_registry (void)
TAO_FlowSpec_Entryget_flow_spec_entry (TAO_AV_FlowSpecSet &flow_spec_set, const char *flowname)
TAO_AV_Acceptor_Registryacceptor_registry (void)
TAO_AV_Flow_Protocol_Factoryget_flow_protocol_factory (const char *flow_protocol)
 = Set/get the <ACE_Reactor>.
TAO_AV_Transport_Factoryget_transport_factory (const char *transport_protocol)
TAO_AV_Flow_ProtocolFactorySetflow_protocol_factories (void)
TAO_AV_TransportFactorySettransport_factories (void)
void reactor (ACE_Reactor *r)
ACE_Reactorreactor (void)
CORBA::ORB_ptr orb (void)
void orb (CORBA::ORB_ptr orb_)
PortableServer::POA_ptr poa (void)
void poa (PortableServer::POA_ptr poa_)

Static Public Member Functions

static int deactivate_servant (PortableServer::Servant servant)
static char * get_flowname (const char *flow_spec_entry_str)
static ACE_CString get_control_flowname (const char *flowname)

Protected Attributes

TAO_AV_Connector_Registryconnector_registry_
TAO_AV_Acceptor_Registryacceptor_registry_
TAO_AV_TransportFactorySet transport_factories_
 Pointer to the list of transports loaded into this AV_Core instance.
TAO_AV_Flow_ProtocolFactorySet flow_protocol_factories_
 Pointer to the list of flow protocol loaded into this AV_Core instance.
ACE_Reactorreactor_
CORBA::ORB_var orb_
PortableServer::POA_var poa_
CORBA::Boolean stop_run_

Detailed Description

This class encapsulates access to the TAO AV Core's resources and its state.


Member Enumeration Documentation

enum TAO_AV_Core::EndPoint
 

Enumerator:
TAO_AV_ENDPOINT_A 
TAO_AV_ENDPOINT_B 

enum TAO_AV_Core::Flow_Component
 

Enumerator:
TAO_AV_DATA 
TAO_AV_CONTROL 
TAO_AV_BOTH 

enum TAO_AV_Core::Protocol
 

Enumerator:
TAO_AV_NOPROTOCOL 
TAO_AV_TCP 
TAO_AV_UDP 
TAO_AV_AAL5 
TAO_AV_AAL3_4 
TAO_AV_AAL1 
TAO_AV_RTP_UDP 
TAO_AV_RTP_AAL5 
TAO_AV_IPX 
TAO_AV_SFP_UDP 
TAO_AV_UDP_MCAST 
TAO_AV_RTP_UDP_MCAST 
TAO_AV_SFP_UDP_MCAST 
TAO_AV_QOS_UDP 
TAO_AV_USERDEFINED_UDP 
TAO_AV_USERDEFINED_UDP_MCAST 
TAO_AV_SCTP_SEQ 


Constructor & Destructor Documentation

TAO_AV_Core::TAO_AV_Core void   ) 
 

Default constructor.

TAO_AV_Core::~TAO_AV_Core void   ) 
 

Destructor.


Member Function Documentation

TAO_AV_Acceptor_Registry * TAO_AV_Core::acceptor_registry void   ) 
 

TAO_AV_Connector_Registry * TAO_AV_Core::connector_registry void   ) 
 

int TAO_AV_Core::deactivate_servant PortableServer::Servant  servant  )  [static]
 

TAO_AV_Flow_ProtocolFactorySet * TAO_AV_Core::flow_protocol_factories void   ) 
 

TAO_AV_Acceptor * TAO_AV_Core::get_acceptor const char *  flowname  ) 
 

= Get the acceptor registry

TAO_AV_Connector * TAO_AV_Core::get_connector const char *  flowname  ) 
 

ACE_CString TAO_AV_Core::get_control_flowname const char *  flowname  )  [static]
 

TAO_AV_Flow_Protocol_Factory * TAO_AV_Core::get_flow_protocol_factory const char *  flow_protocol  ) 
 

= Set/get the <ACE_Reactor>.

TAO_FlowSpec_Entry * TAO_AV_Core::get_flow_spec_entry TAO_AV_FlowSpecSet flow_spec_set,
const char *  flowname
 

char * TAO_AV_Core::get_flowname const char *  flow_spec_entry_str  )  [static]
 

TAO_AV_Transport_Factory * TAO_AV_Core::get_transport_factory const char *  transport_protocol  ) 
 

int TAO_AV_Core::init CORBA::ORB_ptr  orb,
PortableServer::POA_ptr poa  ACE_ENV_ARG_DECL
 

int TAO_AV_Core::init_flow_protocol_factories void   ) 
 

int TAO_AV_Core::init_forward_flows TAO_Base_StreamEndPoint endpoint,
TAO_AV_FlowSpecSet flow_spec_set,
EndPoint  direction,
AVStreams::flowSpec flow_spec
 

int TAO_AV_Core::init_reverse_flows TAO_Base_StreamEndPoint endpoint,
TAO_AV_FlowSpecSet forward_flow_spec_set,
TAO_AV_FlowSpecSet reverse_flow_spec_set,
EndPoint  direction
 

int TAO_AV_Core::init_transport_factories void   ) 
 

int TAO_AV_Core::load_default_flow_protocol_factories void   ) 
 

int TAO_AV_Core::load_default_transport_factories void   ) 
 

void TAO_AV_Core::orb CORBA::ORB_ptr  orb_  ) 
 

CORBA::ORB_ptr TAO_AV_Core::orb void   ) 
 

void TAO_AV_Core::poa PortableServer::POA_ptr  poa_  ) 
 

PortableServer::POA_ptr TAO_AV_Core::poa void   ) 
 

ACE_Reactor * TAO_AV_Core::reactor void   ) 
 

void TAO_AV_Core::reactor ACE_Reactor r  ) 
 

int TAO_AV_Core::remove_acceptor const char *  flowname  ) 
 

int TAO_AV_Core::remove_connector const char *  flowname  ) 
 

int TAO_AV_Core::run void   ) 
 

int TAO_AV_Core::stop_run void   ) 
 

TAO_AV_TransportFactorySet * TAO_AV_Core::transport_factories void   ) 
 


Member Data Documentation

TAO_AV_Acceptor_Registry* TAO_AV_Core::acceptor_registry_ [protected]
 

The registry which maintains a list of acceptor factories for each loaded protocol.

TAO_AV_Connector_Registry* TAO_AV_Core::connector_registry_ [protected]
 

The connector registry which all active connecters must register themselves with.

TAO_AV_Flow_ProtocolFactorySet TAO_AV_Core::flow_protocol_factories_ [protected]
 

Pointer to the list of flow protocol loaded into this AV_Core instance.

CORBA::ORB_var TAO_AV_Core::orb_ [protected]
 

PortableServer::POA_var TAO_AV_Core::poa_ [protected]
 

ACE_Reactor* TAO_AV_Core::reactor_ [protected]
 

CORBA::Boolean TAO_AV_Core::stop_run_ [protected]
 

TAO_AV_TransportFactorySet TAO_AV_Core::transport_factories_ [protected]
 

Pointer to the list of transports loaded into this AV_Core instance.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:28:17 2005 for TAO_AV by  doxygen 1.4.5