001: package org.cougaar.qos.ResourceStatus;
002:
003: /**
004: * org/cougaar/qos/ResourceStatus/ResourceStatusServicePOATie.java .
005: * Generated by the IDL-to-Java compiler (portable), version "3.2"
006: * from qrs.idl
007: * Tuesday, August 7, 2007 11:57:30 AM EDT
008: */
009:
010: // syntactic problem with the argument.
011: public class ResourceStatusServicePOATie extends
012: ResourceStatusServicePOA {
013:
014: // Constructors
015:
016: public ResourceStatusServicePOATie(
017: org.cougaar.qos.ResourceStatus.ResourceStatusServiceOperations delegate) {
018: this ._impl = delegate;
019: }
020:
021: public ResourceStatusServicePOATie(
022: org.cougaar.qos.ResourceStatus.ResourceStatusServiceOperations delegate,
023: org.omg.PortableServer.POA poa) {
024: this ._impl = delegate;
025: this ._poa = poa;
026: }
027:
028: public org.cougaar.qos.ResourceStatus.ResourceStatusServiceOperations _delegate() {
029: return this ._impl;
030: }
031:
032: public void _delegate(
033: org.cougaar.qos.ResourceStatus.ResourceStatusServiceOperations delegate) {
034: this ._impl = delegate;
035: }
036:
037: public org.omg.PortableServer.POA _default_POA() {
038: if (_poa != null) {
039: return _poa;
040: } else {
041: return super ._default_POA();
042: }
043: }
044:
045: // This call is non-blocking by design.
046: public boolean query(
047: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
048: org.cougaar.qos.ResourceStatus.DataValueHolder result) {
049: return _impl.query(formula, result);
050: } // query
051:
052: public boolean query_s(String formula,
053: org.cougaar.qos.ResourceStatus.DataValueHolder result)
054: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException {
055: return _impl.query_s(formula, result);
056: } // query_s
057:
058: // an exception in the former case.
059: public boolean blockingQuery(
060: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
061: long timeout,
062: org.cougaar.qos.ResourceStatus.DataValueHolder result) {
063: return _impl.blockingQuery(formula, timeout, result);
064: } // blockingQuery
065:
066: public boolean blockingQuery_s(String formula, long timeout,
067: org.cougaar.qos.ResourceStatus.DataValueHolder result)
068: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException {
069: return _impl.blockingQuery_s(formula, timeout, result);
070: } // blockingQuery_s
071:
072: // one corresponds to a given callback invocation.
073: public boolean unqualifiedSubscribe(
074: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
075: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
076: int callback_id) {
077: return _impl.unqualifiedSubscribe(listener, formula,
078: callback_id);
079: } // unqualifiedSubscribe
080:
081: public boolean unqualifiedSubscribe_s(
082: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
083: String formula, int callback_id)
084: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException {
085: return _impl.unqualifiedSubscribe_s(listener, formula,
086: callback_id);
087: } // unqualifiedSubscribe_s
088:
089: // qualifier.
090: public boolean qualifiedSubscribe(
091: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
092: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
093: int callback_id,
094: org.cougaar.qos.ResourceStatus.Qualifier qualifier_) {
095: return _impl.qualifiedSubscribe(listener, formula, callback_id,
096: qualifier_);
097: } // qualifiedSubscribe
098:
099: public boolean qualifiedSubscribe_s(
100: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
101: String formula, int callback_id,
102: org.cougaar.qos.ResourceStatus.Qualifier qualifier_)
103: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException {
104: return _impl.qualifiedSubscribe_s(listener, formula,
105: callback_id, qualifier_);
106: } // qualifiedSubscribe_s
107:
108: // given listener.
109: public void unsubscribe(
110: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
111: org.cougaar.qos.ResourceStatus.ResourceNode[] formula) {
112: _impl.unsubscribe(listener, formula);
113: } // unsubscribe
114:
115: public void unsubscribe_s(
116: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
117: String formula)
118: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException {
119: _impl.unsubscribe_s(listener, formula);
120: } // unsubscribe_s
121:
122: // request a Qualifier.
123: public org.cougaar.qos.ResourceStatus.QualifierFactory getQualifierFactory(
124: org.cougaar.qos.ResourceStatus.QualifierKind kind) {
125: return _impl.getQualifierFactory(kind);
126: } // getQualifierFactory
127:
128: // context rather than a formula.
129: public boolean invoke(
130: org.cougaar.qos.ResourceStatus.ResourceNode[] resource_context,
131: String method_name, String[] args)
132: throws org.cougaar.qos.ResourceStatus.NoSuchMethodException {
133: return _impl.invoke(resource_context, method_name, args);
134: } // invoke
135:
136: public boolean invoke_s(String resource_context,
137: String method_name, String[] args)
138: throws org.cougaar.qos.ResourceStatus.NoSuchMethodException,
139: org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException {
140: return _impl.invoke_s(resource_context, method_name, args);
141: } // invoke_s
142:
143: // raw value.
144: public void pushString(String key, String raw_value) {
145: _impl.pushString(key, raw_value);
146: } // pushString
147:
148: public void pushLong(String key, int raw_value) {
149: _impl.pushLong(key, raw_value);
150: } // pushLong
151:
152: // soon go away.
153: public void addDependency(
154: org.cougaar.qos.ResourceStatus.ResourceNode resource,
155: org.cougaar.qos.ResourceStatus.ResourceNode[] node_dependencies,
156: org.cougaar.qos.ResourceStatus.ResourceStatusService[] rss_dependencies) {
157: _impl.addDependency(resource, node_dependencies,
158: rss_dependencies);
159: } // addDependency
160:
161: private org.cougaar.qos.ResourceStatus.ResourceStatusServiceOperations _impl;
162: private org.omg.PortableServer.POA _poa;
163:
164: } // class ResourceStatusServicePOATie
|