00001 package SubscriptionManagerModule;
00002
00003
00011 public class _SubscriptionManagerStub extends org.omg.CORBA.portable.ObjectImpl implements SubscriptionManagerModule.SubscriptionManager
00012 {
00013
00014 public int whatNumberIsThis (int number)
00015 {
00016 org.omg.CORBA.portable.InputStream $in = null;
00017 try {
00018 org.omg.CORBA.portable.OutputStream $out = _request ("whatNumberIsThis", true);
00019 $out.write_long (number);
00020 $in = _invoke ($out);
00021 int $result = $in.read_long ();
00022 return $result;
00023 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00024 $in = $ex.getInputStream ();
00025 String _id = $ex.getId ();
00026 throw new org.omg.CORBA.MARSHAL (_id);
00027 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00028 return whatNumberIsThis (number );
00029 } finally {
00030 _releaseReply ($in);
00031 }
00032 }
00033
00034 public void debugDumpSubscriptions ()
00035 {
00036 org.omg.CORBA.portable.InputStream $in = null;
00037 try {
00038 org.omg.CORBA.portable.OutputStream $out = _request ("debugDumpSubscriptions", false);
00039 $in = _invoke ($out);
00040 return;
00041 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00042 $in = $ex.getInputStream ();
00043 String _id = $ex.getId ();
00044 throw new org.omg.CORBA.MARSHAL (_id);
00045 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00046 debugDumpSubscriptions ( );
00047 } finally {
00048 _releaseReply ($in);
00049 }
00050 }
00051
00052
00053
00054 public void subscribe_special (String serverPattern, String objectPattern, boolean server_is_regular_expression, boolean object_is_regular_expression, is.callback cb) throws is.InvalidExpression
00055 {
00056 org.omg.CORBA.portable.InputStream $in = null;
00057 try {
00058 org.omg.CORBA.portable.OutputStream $out = _request ("subscribe_special", true);
00059 $out.write_string (serverPattern);
00060 $out.write_string (objectPattern);
00061 $out.write_boolean (server_is_regular_expression);
00062 $out.write_boolean (object_is_regular_expression);
00063 is.callbackHelper.write ($out, cb);
00064 $in = _invoke ($out);
00065 return;
00066 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00067 $in = $ex.getInputStream ();
00068 String _id = $ex.getId ();
00069 if (_id.equals ("IDL:is/InvalidExpression:1.0"))
00070 throw is.InvalidExpressionHelper.read ($in);
00071 else
00072 throw new org.omg.CORBA.MARSHAL (_id);
00073 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00074 subscribe_special (serverPattern, objectPattern, server_is_regular_expression, object_is_regular_expression, cb );
00075 } finally {
00076 _releaseReply ($in);
00077 }
00078 }
00079
00080 public ipc.servantPackage.info information ()
00081 {
00082 org.omg.CORBA.portable.InputStream $in = null;
00083 try {
00084 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00085 $in = _invoke ($out);
00086 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00087 return $result;
00088 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00089 $in = $ex.getInputStream ();
00090 String _id = $ex.getId ();
00091 throw new org.omg.CORBA.MARSHAL (_id);
00092 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00093 return information ( );
00094 } finally {
00095 _releaseReply ($in);
00096 }
00097 }
00098
00099 public void shutdown ()
00100 {
00101 org.omg.CORBA.portable.InputStream $in = null;
00102 try {
00103 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00104 $in = _invoke ($out);
00105 return;
00106 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00107 $in = $ex.getInputStream ();
00108 String _id = $ex.getId ();
00109 throw new org.omg.CORBA.MARSHAL (_id);
00110 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00111 shutdown ( );
00112 } finally {
00113 _releaseReply ($in);
00114 }
00115 }
00116
00117
00118 private static String[] __ids = {
00119 "IDL:SubscriptionManagerModule/SubscriptionManager:1.0",
00120 "IDL:ipc/servant:1.0"};
00121
00122 public String[] _ids ()
00123 {
00124 return (String[])__ids.clone ();
00125 }
00126
00127 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00128 {
00129 String str = s.readUTF ();
00130 String[] args = null;
00131 java.util.Properties props = null;
00132 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00133 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00134 _set_delegate (delegate);
00135 }
00136
00137 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00138 {
00139 String[] args = null;
00140 java.util.Properties props = null;
00141 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00142 s.writeUTF (str);
00143 }
00144 }