01: package org.cougaar.qos.ResourceStatus;
02:
03: /**
04: * org/cougaar/qos/ResourceStatus/_MinCredibilityQualifierFactoryStub.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: // greater than the given threshold.
11: public class _MinCredibilityQualifierFactoryStub extends
12: org.omg.CORBA.portable.ObjectImpl implements
13: org.cougaar.qos.ResourceStatus.MinCredibilityQualifierFactory {
14:
15: public org.cougaar.qos.ResourceStatus.Qualifier getQualifier(
16: double threshold) {
17: org.omg.CORBA.portable.InputStream $in = null;
18: try {
19: org.omg.CORBA.portable.OutputStream $out = _request(
20: "getQualifier", true);
21: $out.write_double(threshold);
22: $in = _invoke($out);
23: org.cougaar.qos.ResourceStatus.Qualifier $result = org.cougaar.qos.ResourceStatus.QualifierHelper
24: .read($in);
25: return $result;
26: } catch (org.omg.CORBA.portable.ApplicationException $ex) {
27: $in = $ex.getInputStream();
28: String _id = $ex.getId();
29: throw new org.omg.CORBA.MARSHAL(_id);
30: } catch (org.omg.CORBA.portable.RemarshalException $rm) {
31: return getQualifier(threshold);
32: } finally {
33: _releaseReply($in);
34: }
35: } // getQualifier
36:
37: // Type-specific CORBA::Object operations
38: private static String[] __ids = {
39: "IDL:org/cougaar/qos/ResourceStatus/MinCredibilityQualifierFactory:1.0",
40: "IDL:org/cougaar/qos/ResourceStatus/QualifierFactory:1.0" };
41:
42: public String[] _ids() {
43: return (String[]) __ids.clone();
44: }
45:
46: private void readObject(java.io.ObjectInputStream s)
47: throws java.io.IOException {
48: String str = s.readUTF();
49: String[] args = null;
50: java.util.Properties props = null;
51: org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init(args, props)
52: .string_to_object(str);
53: org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)
54: ._get_delegate();
55: _set_delegate(delegate);
56: }
57:
58: private void writeObject(java.io.ObjectOutputStream s)
59: throws java.io.IOException {
60: String[] args = null;
61: java.util.Properties props = null;
62: String str = org.omg.CORBA.ORB.init(args, props)
63: .object_to_string(this );
64: s.writeUTF(str);
65: }
66: } // class _MinCredibilityQualifierFactoryStub
|