summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h524
1 files changed, 130 insertions, 394 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
index 1a871277da6..abcf1e9568a 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
+++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
@@ -56,82 +56,62 @@ class TAO_ORBSVCS_Export TAO_Basic_StreamCtrl
: public virtual POA_AVStreams::Basic_StreamCtrl,
public virtual TAO_PropertySet,
public virtual PortableServer::RefCountServantBase
+// = DESCRIPTION
+// Base class for StreamCtrl, implements basic stream start
+// and stop functionality
{
- // = DESCRIPTION
- // Base class for StreamCtrl, implements basic stream start
- // and stop functionality
-
-public:
+ public:
TAO_Basic_StreamCtrl (void);
// Default Constructor
virtual void stop (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Stop the transfer of data of the stream
// Empty the_spec means apply operation to all flows
virtual void start (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Start the transfer of data in the stream.
// Empty the_spec means apply operation to all flows
virtual void destroy (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Tears down the stream. This will close the connection, and delete
// the streamendpoint and vdev associated with this stream
// Empty the_spec means apply operation to all flows
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Changes the QoS associated with the stream
// Empty the_spec means apply operation to all flows
virtual void push_event (const struct CosPropertyService::Property & the_event,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used by StreamEndPoint and VDev to inform StreamCtrl of events.
// E.g., loss of flow, reestablishment of flow, etc..
virtual void set_FPStatus (const AVStreams::flowSpec &the_spec,
const char *fp_name,
const CORBA::Any &fp_settings,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::FPError));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to control the flow protocol parameters.
virtual CORBA::Object_ptr get_flow_connection (const char *flow_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not implemented in the light profile, will raise the notsupported
// exception
virtual void set_flow_connection (const char *flow_name,
CORBA::Object_ptr flow_connection,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not implemented in the light profile, will raise the notsupported
// exception
virtual ~TAO_Basic_StreamCtrl (void);
// Destructor
-protected:
+ protected:
AVStreams::VDev_var vdev_a_;
AVStreams::VDev_var vdev_b_;
@@ -158,8 +138,7 @@ class TAO_ORBSVCS_Export TAO_Negotiator
public:
virtual CORBA::Boolean negotiate (AVStreams::Negotiator_ptr remote_negotiator,
const AVStreams::streamQoS &qos_spec,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ());
};
class TAO_MCastConfigIf;
@@ -181,11 +160,7 @@ public:
AVStreams::MMDevice_ptr b_party,
AVStreams::streamQoS &the_qos,
const AVStreams::flowSpec &the_flows,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Establish a stream between a_party and b_party,
// with qos the_qos, and for the flows in the_flows
// if the_flows is empty, bind all the flows
@@ -196,47 +171,30 @@ public:
AVStreams::StreamEndPoint_B_ptr b_party,
AVStreams::streamQoS &the_qos,
const AVStreams::flowSpec &the_flows,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Establish a connection between two streamendpoints. This can
// be used if the streamendpoints have been created independent of
// a MMDevice
- virtual void unbind_dev (AVStreams::MMDevice_ptr dev,
- const AVStreams::flowSpec & the_spec,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow));
-
virtual void unbind_party (AVStreams::StreamEndPoint_ptr the_ep,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Unbind the_ep from the stream. Empty the_spec means apply to all flows.
- virtual void unbind (CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed));
+ virtual void unbind (CORBA::Environment &env = CORBA::Environment::default_environment ());
// unbind the stream. Same effect as Basic_StreamCtrl::destroy ()
+ virtual void unbind_dev (AVStreams::MMDevice_ptr dev,
+ const AVStreams::flowSpec & the_spec,
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ());
+
virtual AVStreams::VDev_ptr get_related_vdev (AVStreams::MMDevice_ptr adev,
AVStreams::StreamEndPoint_out sep,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed));
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ());
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Changes the QoS associated with the stream
// Empty the_spec means apply operation to all flows
@@ -257,44 +215,34 @@ public:
virtual CORBA::Boolean set_peer (CORBA::Object_ptr peer,
AVStreams::streamQoS & the_qos,
const AVStreams::flowSpec & the_spec,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) ;
virtual void configure (const CosPropertyService::Property & a_configuration,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) ;
virtual void set_initial_configuration (const CosPropertyService::Properties & initial,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) ;
virtual void set_format (const char * flowName,
const char * format_name,
CORBA::Environment &ACE_TRY_ENV =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ CORBA::Environment::default_environment ()) ;
virtual void set_dev_params (const char * flowName,
const CosPropertyService::Properties & new_params,
- CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
-
+ CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) ;
+
protected:
ACE_SOCK_Dgram_Mcast sock_mcast_;
// Multicast socket.
};
class TAO_ORBSVCS_Export TAO_Base_StreamEndPoint
+// = DESCRIPTION
+// Base class for the A/V StreamEndPoint class. this class
+// is used to control the stream. It should be subclassed
+// by applications that want to provide more control features.
{
- // = DESCRIPTION
- // Base class for the A/V StreamEndPoint class. this class
- // is used to control the stream. It should be subclassed
- // by applications that want to provide more control features.
public:
virtual ~TAO_Base_StreamEndPoint (void);
@@ -352,110 +300,73 @@ public:
// Constructor
virtual void stop (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Stop the stream. Empty the_spec means, for all the flows
virtual void start (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Start the stream, Empty the_spec means, for all the flows
virtual void destroy (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Destroy the stream, Empty the_spec means, for all the flows
virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder,
AVStreams::streamQoS &qos_spec,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed)) = 0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) = 0;
// Called by StreamCtrl. responder is the peer to connect to
virtual CORBA::Boolean request_connection (AVStreams::StreamEndPoint_ptr initiator,
CORBA::Boolean is_mcast,
AVStreams::streamQoS &qos,
AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpDenied,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::FPError));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called by the peer StreamEndPoint. The flow_spec indicates the
// flows (which contain transport addresses etc.)
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos,
const AVStreams::flowSpec &the_flows,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Change the transport qos on a stream
virtual CORBA::Boolean set_protocol_restriction (const AVStreams::protocolSpec &the_pspec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to restrict the set of protocols
virtual void disconnect (const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// disconnect the flows
virtual void set_FPStatus (const AVStreams::flowSpec &the_spec,
const char *fp_name,
const CORBA::Any &fp_settings,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::FPError));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to control the flow
virtual CORBA::Object_ptr get_fep (const char *flow_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not implemented in the light profile, throws notsupported
virtual char * add_fep (CORBA::Object_ptr the_fep,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not implemented in the light profile, throws notsupported
virtual void remove_fep (const char *fep_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not implemented in the light profile, throws notsupported
virtual void set_negotiator (AVStreams::Negotiator_ptr new_negotiator,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to "attach" a negotiator to the endpoint
virtual void set_key (const char *flow_name,
const AVStreams::key & the_key,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used for public key encryption.
virtual void set_source_id (CORBA::Long source_id,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to set a unique id for packets sent by this streamendpoint
virtual ~TAO_StreamEndPoint (void);
@@ -493,39 +404,23 @@ public:
virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder,
AVStreams::streamQoS &qos_spec,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called by StreamCtrl. responder is the peer to connect to
virtual CORBA::Boolean multiconnect (AVStreams::streamQoS &the_qos,
AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used for ATM-style multicast
virtual CORBA::Boolean connect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep,
AVStreams::streamQoS &the_qos,
const AVStreams::flowSpec &the_flows,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used for ATM-style multicast
virtual void disconnect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep,
const AVStreams::flowSpec &theSpec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to remove a multicast leaf
virtual ~TAO_Client_StreamEndPoint (void);
@@ -548,33 +443,19 @@ public:
virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder,
AVStreams::streamQoS &qos_spec,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
virtual CORBA::Boolean request_connection (AVStreams::StreamEndPoint_ptr initiator,
CORBA::Boolean is_mcast,
AVStreams::streamQoS &qos,
AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpDenied,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::FPError));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called by the peer StreamEndPoint. The flow_spec indicates the
// flows (which contain transport addresses etc.)
virtual CORBA::Boolean multiconnect (AVStreams::streamQoS &the_qos,
AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::FPError));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used for internet-style multicast
virtual ~TAO_Server_StreamEndPoint (void);
@@ -597,52 +478,33 @@ class TAO_ORBSVCS_Export TAO_VDev
AVStreams::VDev_ptr the_peer_dev,
AVStreams::streamQoS &the_qos,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called to tell the vdev who the streamctrl, peer vdev is
virtual CORBA::Boolean set_Mcast_peer (AVStreams::StreamCtrl_ptr the_ctrl,
AVStreams::MCastConfigIf_ptr a_mcastconfigif,
AVStreams::streamQoS &the_qos,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to set the streamctrl and multicast device
virtual void configure (const CosPropertyService::Property &the_config_mesg,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called by the peer VDev to configure the device (catch all)
virtual void set_format (const char *flowName,
const char *format_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to set a format on a flowname
virtual void set_dev_params (const char *flowName,
const CosPropertyService::Properties &new_params,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Used to set device parameters
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &the_qos,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called to change QoS of the device
virtual ~TAO_VDev (void);
@@ -682,11 +544,7 @@ class TAO_ORBSVCS_Export TAO_MMDevice
AVStreams::streamQoS &the_qos,
CORBA::Boolean_out is_met,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Can be used to request the MMDevice to create a new StreamCtrl,
// and call bind_devs on it
@@ -694,11 +552,7 @@ class TAO_ORBSVCS_Export TAO_MMDevice
AVStreams::streamQoS &the_qos,
CORBA::Boolean_out is_met,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Multicast bind
virtual AVStreams::StreamEndPoint_A_ptr create_A (AVStreams::StreamCtrl_ptr the_requester,
@@ -707,13 +561,7 @@ class TAO_ORBSVCS_Export TAO_MMDevice
CORBA::Boolean_out met_qos,
char *&named_vdev,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::notSupported,
- AVStreams::QoSRequestFailed,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called by StreamCtrl to create a "A" type streamandpoint and vdev
virtual AVStreams::StreamEndPoint_B_ptr create_B (AVStreams::StreamCtrl_ptr the_requester,
@@ -722,41 +570,24 @@ class TAO_ORBSVCS_Export TAO_MMDevice
CORBA::Boolean_out met_qos,
char *&named_vdev,
const AVStreams::flowSpec &the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::notSupported,
- AVStreams::QoSRequestFailed,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Called by StreamCtrl to create a "B" type streamandpoint and vdev
virtual void destroy (AVStreams::StreamEndPoint_ptr the_ep,
const char *vdev_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Remove the StreamEndPoint and the related vdev
virtual char * add_fdev (CORBA::Object_ptr the_fdev,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not supported in the light profile, raises notsupported
virtual CORBA::Object_ptr get_fdev (const char *flow_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not supported in the light profile, raises notsupported
virtual void remove_fdev (const char *flow_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::noSuchFlow));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Not supported in the light profile, raises notsupported
virtual ~TAO_MMDevice (void);
@@ -795,81 +626,56 @@ public:
TAO_FlowConnection (void);
// default constructor.
- virtual void stop (CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void stop (CORBA::Environment &env = CORBA::Environment::default_environment ());
// stop this flow.
- virtual void start (CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void start (CORBA::Environment &env = CORBA::Environment::default_environment ());
// start this flow.
- virtual void destroy (CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (CORBA::Environment &env = CORBA::Environment::default_environment ());
// destroy this flow.
virtual CORBA::Boolean modify_QoS (AVStreams::QoS & new_qos,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// modify the QoS for this flow.
virtual CORBA::Boolean use_flow_protocol (const char * fp_name,
const CORBA::Any & fp_settings,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::FPError,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// use the specified flow protocol for this flow.
virtual void push_event (const AVStreams::streamEvent & the_event,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// pushes an event , to be handled by the application.
virtual CORBA::Boolean connect_devs (AVStreams::FDev_ptr a_party,
AVStreams::FDev_ptr b_party,
AVStreams::QoS & the_qos,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// connect 2 Flow Devices.
virtual CORBA::Boolean connect (AVStreams::FlowProducer_ptr flow_producer,
AVStreams::FlowConsumer_ptr flow_consumer,
AVStreams::QoS & the_qos,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::formatMismatch,
- AVStreams::FEPMismatch,
- AVStreams::alreadyConnected));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// Connect a flow producer and consumer under this flow connection.
- virtual CORBA::Boolean disconnect (CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual CORBA::Boolean disconnect (CORBA::Environment &env = CORBA::Environment::default_environment ());
// disconnect this flow connection.
virtual CORBA::Boolean add_producer (AVStreams::FlowProducer_ptr flow_producer,
AVStreams::QoS & the_qos,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::alreadyConnected,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// adds the producer to this flow connection.
virtual CORBA::Boolean add_consumer (AVStreams::FlowConsumer_ptr flow_consumer,
AVStreams::QoS & the_qos,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::alreadyConnected));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// adds a consumer to this flow connection.
virtual CORBA::Boolean drop (AVStreams::FlowEndPoint_ptr target,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notConnected));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// drops a flow endpoint from the flow.
protected:
@@ -896,111 +702,83 @@ class TAO_ORBSVCS_Export TAO_FlowEndPoint :
//default constructor.
virtual CORBA::Boolean lock (CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// lock the flow endpoint for a particular flow.
virtual void unlock (CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// unlock the flow endpoint for subsequent use.
virtual void stop (CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// stop this flow, to be overridden by the application.
virtual void start (CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// start this flow, to be overridden by the application.
virtual void destroy (CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// destroy this flow.
- virtual AVStreams::StreamEndPoint_ptr related_sep(CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual AVStreams::StreamEndPoint_ptr related_sep
+ (CORBA::Environment &env =
+ CORBA::Environment::default_environment ());
// get method for the related streamendpoint under which this
// flowendpoint is.
virtual void related_sep (AVStreams::StreamEndPoint_ptr related_sep,
CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// set method for the related streamendpoint under which this
// flowendpoint is.
virtual AVStreams::FlowConnection_ptr related_flow_connection(CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment::default_environment ());
// accessor for the related flow connection attribute.
virtual void related_flow_connection (AVStreams::FlowConnection_ptr related_flow_connection,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// set method for the related flow connection attribute.
- virtual AVStreams::FlowEndPoint_ptr get_connected_fep (CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notConnected,
- AVStreams::notSupported));
+ virtual AVStreams::FlowEndPoint_ptr get_connected_fep
+ (CORBA::Environment &env =
+ CORBA::Environment::default_environment ());
// returns the other flowendpoint to which this is connected.
virtual CORBA::Boolean use_flow_protocol (const char * fp_name,
const CORBA::Any & fp_settings,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::FPError,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
/// use the specified flow protocol.
virtual void set_format (const char * format,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// sets the data format.
virtual void set_dev_params (const CosPropertyService::Properties & new_settings,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// sets the device parameters.
virtual void set_protocol_restriction (const AVStreams::protocolSpec & the_spec,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// sets the list of protocols to be used.
virtual CORBA::Boolean is_fep_compatible (AVStreams::FlowEndPoint_ptr fep,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::formatMismatch,
- AVStreams::deviceQosMismatch));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// checks whether the passed flowendpoint is compatible with this.
virtual CORBA::Boolean set_peer (AVStreams::FlowConnection_ptr the_fc,
AVStreams::FlowEndPoint_ptr the_peer_fep,
AVStreams::QoS & the_qos,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// sets the peer flowendpoint.
virtual CORBA::Boolean set_Mcast_peer (AVStreams::FlowConnection_ptr the_fc,
AVStreams::MCastConfigIf_ptr a_mcastconfigif,
AVStreams::QoS & the_qos,
CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment::default_environment ());
// sets the multicast peer flowendpoint, not implemented.
@@ -1008,11 +786,7 @@ class TAO_ORBSVCS_Export TAO_FlowEndPoint :
const char * address,
const char * use_flow_protocol,
CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment::default_environment ());
// connect to the peer endpoint.
virtual CORBA::Boolean handle_connect_to_peer (AVStreams::QoS & the_qos,
@@ -1020,6 +794,7 @@ class TAO_ORBSVCS_Export TAO_FlowEndPoint :
const char * use_flow_protocol,
CORBA::Environment &env =
CORBA::Environment::default_environment ());
+
// hook method to be overridden by the application to handle the connection request.
virtual char * go_to_listen (AVStreams::QoS & the_qos,
@@ -1027,11 +802,8 @@ class TAO_ORBSVCS_Export TAO_FlowEndPoint :
AVStreams::FlowProducer_ptr peer,
char *& flowProtocol,
CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToListen,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment::default_environment
+ ());
// listen request from the peer.
@@ -1039,7 +811,9 @@ class TAO_ORBSVCS_Export TAO_FlowEndPoint :
CORBA::Boolean is_mcast,
AVStreams::FlowProducer_ptr peer,
char *& flowProtocol,
- CORBA::Environment &env = CORBA::Environment::default_environment ());
+ CORBA::Environment &env =
+ CORBA::Environment::default_environment
+ ());
// applications should override this method.
protected:
@@ -1059,33 +833,26 @@ class TAO_ORBSVCS_Export TAO_FlowProducer:
public:
TAO_FlowProducer (void);
// default constructor
-
virtual char * connect_mcast (AVStreams::QoS & the_qos,
CORBA::Boolean_out is_met,
const char * address,
const char * use_flow_protocol,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::notSupported,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// connect to the multicast address, not implemented.
virtual char * get_rev_channel (const char * pcol_name,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// get the reverse channel, to be used for feedback for protocols like UDP.
virtual void set_key (const AVStreams::key & the_key,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// sets the public key to be used for encryption of the data.
virtual void set_source_id (CORBA::Long source_id,
- CORBA::Environment &env =CORBA::Environment::default_environment())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Environment &env =
+ CORBA::Environment::default_environment
+ ());
// sets the source id of this flow producer so that it can be used
// to distinguish this producer from others in the multicast case.
@@ -1119,12 +886,7 @@ class TAO_ORBSVCS_Export TAO_FDev :
AVStreams::QoS & the_qos,
CORBA::Boolean_out met_qos,
char *& named_fdev,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::notSupported,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// create a flow producer object.
virtual AVStreams::FlowProducer_ptr make_producer (AVStreams::FlowConnection_ptr the_requester,
@@ -1139,46 +901,33 @@ class TAO_ORBSVCS_Export TAO_FDev :
AVStreams::QoS & the_qos,
CORBA::Boolean_out met_qos,
char *& named_fdev,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::notSupported,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// create a flow consumer object.
virtual AVStreams::FlowConsumer_ptr make_consumer (AVStreams::FlowConnection_ptr the_requester,
AVStreams::QoS & the_qos,
CORBA::Boolean_out met_qos,
char *& named_fdev,
- CORBA::Environment &env = CORBA::Environment::default_environment ());
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// bridge method for the application to override the consumer object
// creation. Default implementation creates a TAO_FlowConsumer.
virtual AVStreams::FlowConnection_ptr bind (AVStreams::FDev_ptr peer_device,
AVStreams::QoS & the_qos,
CORBA::Boolean_out is_met,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// bind this FDev with another FDev.
virtual AVStreams::FlowConnection_ptr bind_mcast (AVStreams::FDev_ptr first_peer,
AVStreams::QoS & the_qos,
CORBA::Boolean_out is_met,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::QoSRequestFailed));
+ CORBA::Environment &env = CORBA::Environment::default_environment ());
// multicast bind is not implemented yet.
virtual void destroy (AVStreams::FlowEndPoint_ptr the_ep,
const char * fdev_name,
CORBA::Environment &env =
- CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ CORBA::Environment::default_environment ());
// destroys this FDev.
protected:
@@ -1203,35 +952,22 @@ class TAO_ORBSVCS_Export TAO_MediaControl
virtual AVStreams::Position get_media_position (AVStreams::PositionOrigin an_origin,
AVStreams::PositionKey a_key,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::MediaControl::PostionKeyNotSupported)) =0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) =0;
virtual void set_media_position (const AVStreams::Position & a_position,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::MediaControl::PostionKeyNotSupported,
- AVStreams::InvalidPosition)) =0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) =0;
virtual void start (const AVStreams::Position & a_position,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) =0;
virtual void pause (const AVStreams::Position & a_position,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) =0;
virtual void resume (const AVStreams::Position & a_position,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) =0;
virtual void stop (const AVStreams::Position & a_position,
- CORBA::Environment &env = CORBA::Environment::default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ CORBA::Environment &env = CORBA::Environment::default_environment ()) = 0;
};
@@ -1350,11 +1086,11 @@ public:
// class TAO_ORBSVCS_Export TAO_AV_QoS
// {
// public:
-// TAO_AV_QoS (void) ACE_THROW_SPEC ((CORBA::SystemException));
+// TAO_AV_QoS (void);
// // constructor.
// int convert (const AVStreams::streamQoS &application_qos,
-// AVStreams::streamQoS &network_qos) ACE_THROW_SPEC ((CORBA::SystemException));
+// AVStreams::streamQoS &network_qos);
// // converts the application level QoS to Network-level QoS.
// };