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