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.h492
1 files changed, 109 insertions, 383 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
index e71d0896172..27eb4180aa7 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
+++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
@@ -83,60 +83,41 @@ public:
/// Stop the transfer of data of the stream
/// Empty the_spec means apply operation to all flows
- virtual void stop (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void stop (const AVStreams::flowSpec &the_spec);
/// Start the transfer of data in the stream.
/// Empty the_spec means apply operation to all flows
- virtual void start (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void start (const AVStreams::flowSpec &the_spec);
/**
* 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 void destroy (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void destroy (const AVStreams::flowSpec &the_spec);
/// Changes the QoS associated with the stream
/// Empty the_spec means apply operation to all flows
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_spec);
/// Used by StreamEndPoint and VDev to inform StreamCtrl of events.
/// E.g., loss of flow, reestablishment of flow, etc..
- virtual void push_event (const struct CosPropertyService::Property & the_event)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void push_event (const struct CosPropertyService::Property & the_event);
/// Used to control the flow protocol parameters.
virtual void set_FPStatus (const AVStreams::flowSpec &the_spec,
const char *fp_name,
- const CORBA::Any &fp_settings)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::FPError));
+ const CORBA::Any &fp_settings);
/// Not implemented in the light profile, will raise the notsupported
/// exception
- virtual CORBA::Object_ptr get_flow_connection (const char *flow_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::notSupported));
+ virtual CORBA::Object_ptr get_flow_connection (const char *flow_name);
/// 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)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::notSupported));
+ CORBA::Object_ptr flow_connection);
protected:
@@ -169,8 +150,7 @@ class TAO_AV_Export TAO_Negotiator
{
public:
virtual CORBA::Boolean negotiate (AVStreams::Negotiator_ptr remote_negotiator,
- const AVStreams::streamQoS &qos_spec)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ const AVStreams::streamQoS &qos_spec);
};
class TAO_MCastConfigIf;
@@ -226,24 +206,18 @@ public:
/// Stop the transfer of data of the stream
/// Empty the_spec means apply operation to all flows
- virtual void stop (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void stop (const AVStreams::flowSpec &the_spec);
/// Start the transfer of data in the stream.
/// Empty the_spec means apply operation to all flows
- virtual void start (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void start (const AVStreams::flowSpec &the_spec);
/**
* 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 void destroy (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void destroy (const AVStreams::flowSpec &the_spec);
/**
* Establish a stream between a_party and b_party,
@@ -255,11 +229,7 @@ public:
virtual CORBA::Boolean bind_devs (AVStreams::MMDevice_ptr a_party,
AVStreams::MMDevice_ptr b_party,
AVStreams::streamQoS& the_qos,
- const AVStreams::flowSpec& the_flows)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec& the_flows);
/**
* Establish a connection between two streamendpoints. This can
@@ -269,42 +239,25 @@ public:
virtual CORBA::Boolean bind (AVStreams::StreamEndPoint_A_ptr a_party,
AVStreams::StreamEndPoint_B_ptr b_party,
AVStreams::streamQoS &the_qos,
- const AVStreams::flowSpec &the_flows)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_flows);
virtual void unbind_dev (AVStreams::MMDevice_ptr dev,
- const AVStreams::flowSpec & the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow));
+ const AVStreams::flowSpec & the_spec);
/// Unbind the_ep from the stream. Empty the_spec means apply to all flows.
virtual void unbind_party (AVStreams::StreamEndPoint_ptr the_ep,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow));
+ const AVStreams::flowSpec &the_spec);
/// unbind the stream. Same effect as Basic_StreamCtrl::destroy ()
- virtual void unbind (void)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed));
+ virtual void unbind (void);
virtual AVStreams::VDev_ptr get_related_vdev (AVStreams::MMDevice_ptr adev,
- AVStreams::StreamEndPoint_out sep)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed));
+ AVStreams::StreamEndPoint_out sep);
/// Changes the QoS associated with the stream
/// Empty the_spec means apply operation to all flows
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_spec);
protected:
@@ -351,28 +304,18 @@ public:
virtual CORBA::Boolean set_peer (CORBA::Object_ptr peer,
AVStreams::streamQoS & the_qos,
- const AVStreams::flowSpec & the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ const AVStreams::flowSpec & the_spec);
- virtual void configure (const CosPropertyService::Property & a_configuration)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void configure (const CosPropertyService::Property & a_configuration);
- virtual void set_initial_configuration (const CosPropertyService::Properties & initial)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void set_initial_configuration (const CosPropertyService::Properties & initial);
virtual void set_format (const char * flowName,
- const char * format_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ const char * format_name);
virtual void set_dev_params (const char * flowName,
const CosPropertyService::Properties & new_params)
-
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+;
protected:
/// checks whether the flowname is in the flow_spec.
@@ -520,99 +463,62 @@ public:
TAO_StreamEndPoint (void);
/// Stop the stream. Empty the_spec means, for all the flows
- virtual void stop (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void stop (const AVStreams::flowSpec &the_spec);
/// Start the stream, Empty the_spec means, for all the flows
- virtual void start (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void start (const AVStreams::flowSpec &the_spec);
/// Destroy the stream, Empty the_spec means, for all the flows
- virtual void destroy (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow));
+ virtual void destroy (const AVStreams::flowSpec &the_spec);
/// Called by StreamCtrl. responder is the peer to connect to
virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder,
AVStreams::streamQoS& qos_spec,
- const AVStreams::flowSpec& the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ const AVStreams::flowSpec& the_spec);
/// Called by the peer StreamEndPoint. The flow_spec indicates the
/// flows (which contain transport addresses etc.)
virtual CORBA::Boolean request_connection (AVStreams::StreamEndPoint_ptr initiator,
CORBA::Boolean is_mcast,
AVStreams::streamQoS &qos,
- AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpDenied,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::FPError));
+ AVStreams::flowSpec &the_spec);
/// Change the transport qos on a stream
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos,
- const AVStreams::flowSpec &the_flows)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_flows);
virtual int change_qos (AVStreams::streamQoS &new_qos,
const AVStreams::flowSpec &the_flows);
/// Used to restrict the set of protocols
- virtual CORBA::Boolean set_protocol_restriction (const AVStreams::protocolSpec &the_pspec)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual CORBA::Boolean set_protocol_restriction (const AVStreams::protocolSpec &the_pspec);
/// disconnect the flows
- virtual void disconnect (const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::streamOpFailed));
+ virtual void disconnect (const AVStreams::flowSpec &the_spec);
/// Used to control the flow
virtual void set_FPStatus (const AVStreams::flowSpec &the_spec,
const char *fp_name,
- const CORBA::Any &fp_settings)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::FPError));
+ const CORBA::Any &fp_settings);
/// Not implemented in the light profile, throws notsupported
- virtual CORBA::Object_ptr get_fep (const char *flow_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::noSuchFlow));
+ virtual CORBA::Object_ptr get_fep (const char *flow_name);
/// Not implemented in the light profile, throws notsupported
- virtual char * add_fep (CORBA::Object_ptr the_fep)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ virtual char * add_fep (CORBA::Object_ptr the_fep);
/// Not implemented in the light profile, throws notsupported
- virtual void remove_fep (const char *fep_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ virtual void remove_fep (const char *fep_name);
/// Used to "attach" a negotiator to the endpoint
- virtual void set_negotiator (AVStreams::Negotiator_ptr new_negotiator)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void set_negotiator (AVStreams::Negotiator_ptr new_negotiator);
/// Used for public key encryption.
virtual void set_key (const char *flow_name,
- const AVStreams::key & the_key)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ const AVStreams::key & the_key);
/// Used to set a unique id for packets sent by this streamendpoint
- virtual void set_source_id (CORBA::Long source_id)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void set_source_id (CORBA::Long source_id);
/// Destructor
virtual ~TAO_StreamEndPoint (void);
@@ -622,14 +528,8 @@ public:
protected:
/// Helper methods to implement add_fep()
- char* add_fep_i (AVStreams::FlowEndPoint_ptr fep)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
- char* add_fep_i_add_property (AVStreams::FlowEndPoint_ptr fep)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ char* add_fep_i (AVStreams::FlowEndPoint_ptr fep);
+ char* add_fep_i_add_property (AVStreams::FlowEndPoint_ptr fep);
/// translate from application level to network level qos.
int translate_qos (const AVStreams::streamQoS& application_qos,
@@ -690,29 +590,16 @@ public:
/// Used for ATM-style multicast
virtual CORBA::Boolean multiconnect (AVStreams::streamQoS &the_qos,
- AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ AVStreams::flowSpec &the_spec);
/// 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)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::notSupported));
+ const AVStreams::flowSpec &the_flows);
/// Used to remove a multicast leaf
virtual void disconnect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep,
- const AVStreams::flowSpec &theSpec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::notSupported));
+ const AVStreams::flowSpec &theSpec);
/// Destructor
virtual ~TAO_StreamEndPoint_A (void);
@@ -739,12 +626,7 @@ public:
/// Used for internet-style multicast
virtual CORBA::Boolean multiconnect (AVStreams::streamQoS &the_qos,
- AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::FPError));
+ AVStreams::flowSpec &the_spec);
/// Destructor
virtual ~TAO_StreamEndPoint_B (void);
@@ -768,47 +650,28 @@ public:
virtual CORBA::Boolean set_peer (AVStreams::StreamCtrl_ptr the_ctrl,
AVStreams::VDev_ptr the_peer_dev,
AVStreams::streamQoS &the_qos,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ const AVStreams::flowSpec &the_spec);
/// Used to set the streamctrl and multicast device
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)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ const AVStreams::flowSpec &the_spec);
/// Called by the peer VDev to configure the device (catch all)
- virtual void configure (const CosPropertyService::Property &the_config_mesg)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+ virtual void configure (const CosPropertyService::Property &the_config_mesg);
/// Used to set a format on a flowname
virtual void set_format (const char *flowName,
- const char *format_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ const char *format_name);
/// Used to set device parameters
virtual void set_dev_params (const char *flowName,
- const CosPropertyService::Properties &new_params)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+ const CosPropertyService::Properties &new_params);
/// Called to change QoS of the device
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &the_qos,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_spec);
protected:
/// Destructor for a servant should be protected or private.
@@ -858,21 +721,13 @@ public:
virtual AVStreams::StreamCtrl_ptr bind (AVStreams::MMDevice_ptr peer_device,
AVStreams::streamQoS &the_qos,
CORBA::Boolean_out is_met,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_spec);
/// Multicast bind
virtual AVStreams::StreamCtrl_ptr bind_mcast (AVStreams::MMDevice_ptr first_peer,
AVStreams::streamQoS &the_qos,
CORBA::Boolean_out is_met,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::noSuchFlow,
- AVStreams::QoSRequestFailed));
+ const AVStreams::flowSpec &the_spec);
/// Called by StreamCtrl to create a "A" type streamandpoint and vdev
virtual AVStreams::StreamEndPoint_A_ptr create_A (AVStreams::StreamCtrl_ptr the_requester,
@@ -880,13 +735,7 @@ public:
AVStreams::streamQoS &the_qos,
CORBA::Boolean_out met_qos,
char *&named_vdev,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::notSupported,
- AVStreams::QoSRequestFailed,
- AVStreams::noSuchFlow));
+ const AVStreams::flowSpec &the_spec);
/// Called by StreamCtrl to create a "B" type streamandpoint and vdev
virtual AVStreams::StreamEndPoint_B_ptr create_B (AVStreams::StreamCtrl_ptr the_requester,
@@ -894,48 +743,27 @@ public:
AVStreams::streamQoS &the_qos,
CORBA::Boolean_out met_qos,
char *&named_vdev,
- const AVStreams::flowSpec &the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::notSupported,
- AVStreams::QoSRequestFailed,
- AVStreams::noSuchFlow));
+ const AVStreams::flowSpec &the_spec);
/// Remove the StreamEndPoint and the related vdev
virtual void destroy (AVStreams::StreamEndPoint_ptr the_ep,
- const char *vdev_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ const char *vdev_name);
/// Not supported in the light profile, raises notsupported
- virtual char * add_fdev (CORBA::Object_ptr the_fdev)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ virtual char * add_fdev (CORBA::Object_ptr the_fdev);
/// Not supported in the light profile, raises notsupported
- virtual CORBA::Object_ptr get_fdev (const char *flow_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::noSuchFlow));
+ virtual CORBA::Object_ptr get_fdev (const char *flow_name);
/// Not supported in the light profile, raises notsupported
- virtual void remove_fdev (const char *flow_name)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::noSuchFlow,
- AVStreams::streamOpFailed));
+ virtual void remove_fdev (const char *flow_name);
/// Destructor
virtual ~TAO_MMDevice (void);
protected:
/// Helper method to implement add_fdev()
- char* add_fdev_i (AVStreams::FDev_ptr fdev)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported,
- AVStreams::streamOpFailed));
+ char* add_fdev_i (AVStreams::FDev_ptr fdev);
protected:
@@ -980,73 +808,48 @@ public:
TAO_FlowConnection (void);
/// stop this flow.
- virtual void stop (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void stop (void);
/// start this flow.
- virtual void start (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void start (void);
/// destroy this flow.
- virtual void destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (void);
/// modify the QoS for this flow.
- virtual CORBA::Boolean modify_QoS (AVStreams::QoS & new_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed));
+ virtual CORBA::Boolean modify_QoS (AVStreams::QoS & new_qos);
/// use the specified flow protocol for this flow.
virtual CORBA::Boolean use_flow_protocol (const char * fp_name,
- const CORBA::Any & fp_settings)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::FPError,
- AVStreams::notSupported));
+ const CORBA::Any & fp_settings);
/// pushes an event , to be handled by the application.
- virtual void push_event (const AVStreams::streamEvent & the_event)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void push_event (const AVStreams::streamEvent & the_event);
/// connect 2 Flow Devices.
virtual CORBA::Boolean connect_devs (AVStreams::FDev_ptr a_party,
AVStreams::FDev_ptr b_party,
- AVStreams::QoS & the_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::streamOpFailed,
- AVStreams::streamOpDenied,
- AVStreams::QoSRequestFailed));
+ AVStreams::QoS & the_qos);
/// Connect a flow producer and consumer under this flow connection.
virtual CORBA::Boolean connect (AVStreams::FlowProducer_ptr flow_producer,
AVStreams::FlowConsumer_ptr flow_consumer,
- AVStreams::QoS & the_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::formatMismatch,
- AVStreams::FEPMismatch,
- AVStreams::alreadyConnected));
+ AVStreams::QoS & the_qos);
/// disconnect this flow connection.
- virtual CORBA::Boolean disconnect (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual CORBA::Boolean disconnect (void);
/// adds the producer to this flow connection.
virtual CORBA::Boolean add_producer (AVStreams::FlowProducer_ptr flow_producer,
- AVStreams::QoS & the_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::alreadyConnected,
- AVStreams::notSupported));
+ AVStreams::QoS & the_qos);
/// adds a consumer to this flow connection.
virtual CORBA::Boolean add_consumer (AVStreams::FlowConsumer_ptr flow_consumer,
- AVStreams::QoS & the_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::alreadyConnected));
+ AVStreams::QoS & the_qos);
/// drops a flow endpoint from the flow.
- virtual CORBA::Boolean drop (AVStreams::FlowEndPoint_ptr target)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notConnected));
+ virtual CORBA::Boolean drop (AVStreams::FlowEndPoint_ptr target);
int set_mcast_addr (ACE_CString addr,u_short port);
void set_protocol (const char *protocol);
@@ -1104,86 +907,58 @@ public:
TAO_AV_Protocol_Object *object);
/// lock the flow endpoint for a particular flow.
- virtual CORBA::Boolean lock (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual CORBA::Boolean lock (void);
/// unlock the flow endpoint for subsequent use.
- virtual void unlock (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void unlock (void);
/// destroy this flow.
- virtual void destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (void);
/// get method for the related streamendpoint under which this
/// flowendpoint is.
- virtual AVStreams::StreamEndPoint_ptr related_sep(void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual AVStreams::StreamEndPoint_ptr related_sep(void);
/// set method for the related streamendpoint under which this
/// flowendpoint is.
- virtual void related_sep (AVStreams::StreamEndPoint_ptr related_sep)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void related_sep (AVStreams::StreamEndPoint_ptr related_sep);
- virtual AVStreams::FlowConnection_ptr related_flow_connection(void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual AVStreams::FlowConnection_ptr related_flow_connection(void);
// accessor for the related flow connection attribute.
/// set method for the related flow connection attribute.
- virtual void related_flow_connection (AVStreams::FlowConnection_ptr related_flow_connection)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void related_flow_connection (AVStreams::FlowConnection_ptr related_flow_connection);
/// returns the other flowendpoint to which this is connected.
- virtual AVStreams::FlowEndPoint_ptr get_connected_fep (void)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notConnected,
- AVStreams::notSupported));
+ virtual AVStreams::FlowEndPoint_ptr get_connected_fep (void);
//// use the specified flow protocol.
virtual CORBA::Boolean use_flow_protocol (const char * fp_name,
- const CORBA::Any & fp_settings)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::FPError,
- AVStreams::notSupported));
+ const CORBA::Any & fp_settings);
/// sets the data format.
- virtual void set_format (const char * format)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ virtual void set_format (const char * format);
/// sets the device parameters.
- virtual void set_dev_params (const CosPropertyService::Properties & new_settings)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::PropertyException,
- AVStreams::streamOpFailed));
+ virtual void set_dev_params (const CosPropertyService::Properties & new_settings);
/// sets the list of protocols to be used.
- virtual void set_protocol_restriction (const AVStreams::protocolSpec & the_spec)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::notSupported));
+ virtual void set_protocol_restriction (const AVStreams::protocolSpec & the_spec);
/// checks whether the passed flowendpoint is compatible with this.
- virtual CORBA::Boolean is_fep_compatible (AVStreams::FlowEndPoint_ptr fep)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::formatMismatch,
- AVStreams::deviceQosMismatch));
+ virtual CORBA::Boolean is_fep_compatible (AVStreams::FlowEndPoint_ptr fep);
/// sets the peer flowendpoint.
virtual CORBA::Boolean set_peer (AVStreams::FlowConnection_ptr the_fc,
AVStreams::FlowEndPoint_ptr the_peer_fep,
- AVStreams::QoS & the_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed,
- AVStreams::streamOpFailed));
+ AVStreams::QoS & the_qos);
/// sets the multicast peer flowendpoint, not implemented.
virtual CORBA::Boolean set_Mcast_peer (AVStreams::FlowConnection_ptr the_fc,
AVStreams::MCastConfigIf_ptr a_mcastconfigif,
- AVStreams::QoS & the_qos)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::QoSRequestFailed));
+ AVStreams::QoS & the_qos);
/**
@@ -1194,20 +969,13 @@ public:
virtual CORBA::Boolean connect_to_peer (AVStreams::QoS & the_qos,
const char * address,
const char * use_flow_protocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed)) = 0;
+ = 0;
/// connect to the peer endpoint.
virtual CORBA::Boolean connect_to_peer_i (TAO_FlowSpec_Entry::Role role,
AVStreams::QoS & the_qos,
const char * address,
- const char * use_flow_protocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ const char * use_flow_protocol);
/**
* This should be implemented in both the FlowProducer and consumer and hence is
@@ -1218,21 +986,14 @@ public:
CORBA::Boolean is_mcast,
AVStreams::FlowEndPoint_ptr peer,
char *& flowProtocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToListen,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed)) = 0;
+ = 0;
/// listen request from the peer.
virtual char * go_to_listen_i (TAO_FlowSpec_Entry::Role role,
AVStreams::QoS & the_qos,
CORBA::Boolean is_mcast,
AVStreams::FlowEndPoint_ptr peer,
- char *& flowProtocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToListen,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ char *& flowProtocol);
protected:
@@ -1283,55 +1044,37 @@ public:
* UDP if the producer is listening and the consumer connects (logically) then the producer needs to
* know the reverse channel on its peer fep to send data to.
*/
- virtual char * get_rev_channel (const char * pcol_name)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual char * get_rev_channel (const char * pcol_name);
/// stop this flow, to be overridden by the application.
- virtual void stop (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void stop (void);
/// start this flow, to be overridden by the application.
- virtual void start (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void start (void);
virtual char * go_to_listen (AVStreams::QoS & the_qos,
CORBA::Boolean is_mcast,
AVStreams::FlowEndPoint_ptr peer,
- char *& flowProtocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToListen,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ char *& flowProtocol);
virtual CORBA::Boolean connect_to_peer (AVStreams::QoS & the_qos,
const char * address,
- const char * use_flow_protocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ const char * use_flow_protocol);
/// connect to the multicast address, not implemented.
virtual char * connect_mcast (AVStreams::QoS & the_qos,
CORBA::Boolean_out is_met,
const char * address,
- const char * use_flow_protocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::notSupported,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ const char * use_flow_protocol);
/// sets the public key to be used for encryption of the data.
- virtual void set_key (const AVStreams::key & the_key)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void set_key (const AVStreams::key & the_key);
/// sets the source id of this flow producer so that it can be used
/// to distinguish this producer from others in the multicast case.
- virtual void set_source_id (CORBA::Long source_id)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void set_source_id (CORBA::Long source_id);
protected:
/// source id of this producer.
@@ -1352,29 +1095,19 @@ public:
const char *format);
/// stop this flow, to be overridden by the application.
- virtual void stop (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void stop (void);
/// start this flow, to be overridden by the application.
- virtual void start (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void start (void);
virtual char * go_to_listen (AVStreams::QoS & the_qos,
CORBA::Boolean is_mcast,
AVStreams::FlowEndPoint_ptr peer,
- char *& flowProtocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToListen,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ char *& flowProtocol);
virtual CORBA::Boolean connect_to_peer (AVStreams::QoS & the_qos,
const char * address,
- const char * use_flow_protocol)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::failedToConnect,
- AVStreams::FPError,
- AVStreams::QoSRequestFailed));
+ const char * use_flow_protocol);
};
/**
@@ -1393,29 +1126,22 @@ public:
virtual AVStreams::Position get_media_position (AVStreams::PositionOrigin an_origin,
AVStreams::PositionKey a_key)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::MediaControl::PostionKeyNotSupported)) =0;
+ =0;
virtual void set_media_position (const AVStreams::Position & a_position)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::MediaControl::PostionKeyNotSupported,
- AVStreams::InvalidPosition)) =0;
+ =0;
virtual void start (const AVStreams::Position & a_position)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ =0;
virtual void pause (const AVStreams::Position & a_position)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ =0;
virtual void resume (const AVStreams::Position & a_position)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ =0;
virtual void stop (const AVStreams::Position & a_position)
- ACE_THROW_SPEC ((CORBA::SystemException,
- AVStreams::InvalidPosition)) =0;
+ =0;
};