quamj.qps.registration
Class QoSRepository_impl
java.lang.Object
|
+--org.omg.CORBA.LocalObject
|
+--quamj.qps.registration.QoSRepository_impl
- All Implemented Interfaces:
- org.omg.CORBA.Object
- public class QoSRepository_impl
- extends org.omg.CORBA.LocalObject
The QoSRepository exposes to the Client side of the QPS a suitable
interface for setting and getting a RequiredQoS, AgreedQoS and an
explicit negotiation. Because the actual QoS information is
contained inside the QPS Policy, the QoSRepository, only plays the
role of a Focal point for the maintenance of this information.
- Version:
- $Id: QoSRepository_impl.java,v 1.26 2002/10/30 15:43:14 kris_tz Exp $
- Author:
- Christian Tzolov <tzolov@cs.utwente.nl>
Method Summary |
void |
_initialize(org.omg.CORBA.ORB orb)
|
boolean |
agreed_qos(org.omg.CORBA.Object obj)
|
java.lang.String |
get_agreed_qos(org.omg.CORBA.Object obj)
Returns the agreed QoS of the object |
org.omg.CORBA.Object |
get_object(java.lang.String client_n_s_id)
This method returns the original reference that is set with policies. |
java.lang.String |
get_required_qos(org.omg.CORBA.Object obj)
|
quamj.qps.control.Detector |
getDetector(org.omg.CORBA.Object obj)
|
N_S_ID_TYPE |
getN_S_ID(org.omg.CORBA.Object obj)
|
void |
negotiate_qos(org.omg.CORBA.Object obj,
quamj.qps.control.QoSCallBack call_back)
|
org.omg.CORBA.Object |
negotiate_sys_channel(org.omg.CORBA.Object obj)
|
void |
remove_required_qos(org.omg.CORBA.Object obj)
|
org.omg.CORBA.Object |
set_required_qos(org.omg.CORBA.Object obj,
java.lang.String the_qos)
Set the Required QoS for an object. |
void |
terminate_negotiated_qos(org.omg.CORBA.Object obj)
|
Methods inherited from class org.omg.CORBA.LocalObject |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TERMINATING
public static final int TERMINATING
- See Also:
- Constant Field Values
NEGOTIATING
public static final int NEGOTIATING
- See Also:
- Constant Field Values
TERMINATED
public static final int TERMINATED
- See Also:
- Constant Field Values
NEGOTIATED
public static final int NEGOTIATED
- See Also:
- Constant Field Values
QoSRepository_impl
public QoSRepository_impl()
- Creates new QoSRepository
agreed_qos
public boolean agreed_qos(org.omg.CORBA.Object obj)
get_required_qos
public java.lang.String get_required_qos(org.omg.CORBA.Object obj)
throws quamj.qps.RepositoryFault
quamj.qps.RepositoryFault
get_agreed_qos
public java.lang.String get_agreed_qos(org.omg.CORBA.Object obj)
throws quamj.qps.RepositoryFault
- Returns the agreed QoS of the object
quamj.qps.RepositoryFault
terminate_negotiated_qos
public void terminate_negotiated_qos(org.omg.CORBA.Object obj)
throws quamj.qps.RepositoryFault
quamj.qps.RepositoryFault
getN_S_ID
public N_S_ID_TYPE getN_S_ID(org.omg.CORBA.Object obj)
getDetector
public quamj.qps.control.Detector getDetector(org.omg.CORBA.Object obj)
throws quamj.qps.RepositoryFault
quamj.qps.RepositoryFault
negotiate_qos
public void negotiate_qos(org.omg.CORBA.Object obj,
quamj.qps.control.QoSCallBack call_back)
throws quamj.qps.RepositoryFault
quamj.qps.RepositoryFault
remove_required_qos
public void remove_required_qos(org.omg.CORBA.Object obj)
throws quamj.qps.RepositoryFault
quamj.qps.RepositoryFault
set_required_qos
public org.omg.CORBA.Object set_required_qos(org.omg.CORBA.Object obj,
java.lang.String the_qos)
throws quamj.qps.RepositoryFault
- Set the Required QoS for an object.
- Returns:
- org.omg.CORBA.Object is an object reference to the same object, with
some policies set. Clients should continue using this object reference.
quamj.qps.RepositoryFault
get_object
public org.omg.CORBA.Object get_object(java.lang.String client_n_s_id)
- This method returns the original reference that is set with policies.
To be used during negotiation from within services, when they need to access
the policies or the object reference if a current negotiation session, for some reason.
The client_n_s_id is the client side unique id of the negotiation QoS session. There is always
only one negotiation QoS session per object reference.
_initialize
public void _initialize(org.omg.CORBA.ORB orb)
throws InitializationFailedException
InitializationFailedException
negotiate_sys_channel
public org.omg.CORBA.Object negotiate_sys_channel(org.omg.CORBA.Object obj)