01: package org.cougaar.qos.ResourceStatus;
02:
03: /**
04: * org/cougaar/qos/ResourceStatus/ResourceStatusServiceOperations.java .
05: * Generated by the IDL-to-Java compiler (portable), version "3.2"
06: * from qrs.idl
07: * Tuesday, August 7, 2007 11:57:30 AM EDT
08: */
09:
10: // syntactic problem with the argument.
11: public interface ResourceStatusServiceOperations {
12:
13: // This call is non-blocking by design.
14: boolean query(
15: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
16: org.cougaar.qos.ResourceStatus.DataValueHolder result);
17:
18: boolean query_s(String formula,
19: org.cougaar.qos.ResourceStatus.DataValueHolder result)
20: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException;
21:
22: // an exception in the former case.
23: boolean blockingQuery(
24: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
25: long timeout,
26: org.cougaar.qos.ResourceStatus.DataValueHolder result);
27:
28: boolean blockingQuery_s(String formula, long timeout,
29: org.cougaar.qos.ResourceStatus.DataValueHolder result)
30: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException;
31:
32: // one corresponds to a given callback invocation.
33: boolean unqualifiedSubscribe(
34: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
35: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
36: int callback_id);
37:
38: boolean unqualifiedSubscribe_s(
39: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
40: String formula, int callback_id)
41: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException;
42:
43: // qualifier.
44: boolean qualifiedSubscribe(
45: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
46: org.cougaar.qos.ResourceStatus.ResourceNode[] formula,
47: int callback_id,
48: org.cougaar.qos.ResourceStatus.Qualifier qualifier_);
49:
50: boolean qualifiedSubscribe_s(
51: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
52: String formula, int callback_id,
53: org.cougaar.qos.ResourceStatus.Qualifier qualifier_)
54: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException;
55:
56: // given listener.
57: void unsubscribe(
58: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
59: org.cougaar.qos.ResourceStatus.ResourceNode[] formula);
60:
61: void unsubscribe_s(
62: org.cougaar.qos.ResourceStatus.RSSSubscriber listener,
63: String formula)
64: throws org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException;
65:
66: // request a Qualifier.
67: org.cougaar.qos.ResourceStatus.QualifierFactory getQualifierFactory(
68: org.cougaar.qos.ResourceStatus.QualifierKind kind);
69:
70: // context rather than a formula.
71: boolean invoke(
72: org.cougaar.qos.ResourceStatus.ResourceNode[] resource_context,
73: String method_name, String[] args)
74: throws org.cougaar.qos.ResourceStatus.NoSuchMethodException;
75:
76: boolean invoke_s(String resource_context, String method_name,
77: String[] args)
78: throws org.cougaar.qos.ResourceStatus.NoSuchMethodException,
79: org.cougaar.qos.ResourceStatus.ResourceDescriptionParseException;
80:
81: // raw value.
82: void pushString(String key, String raw_value);
83:
84: void pushLong(String key, int raw_value);
85:
86: // soon go away.
87: void addDependency(
88: org.cougaar.qos.ResourceStatus.ResourceNode resource,
89: org.cougaar.qos.ResourceStatus.ResourceNode[] node_dependencies,
90: org.cougaar.qos.ResourceStatus.ResourceStatusService[] rss_dependencies);
91: } // interface ResourceStatusServiceOperations
|