FileDocCategorySizeDatePackage
_ServerObjectStub.javaAPI DocExample5933Thu Mar 23 20:10:52 GMT 2000tuning.distrib.corba

_ServerObjectStub

public class _ServerObjectStub extends org.omg.CORBA.portable.ObjectImpl implements tuning.distrib.corba.ServerObject
tuning/distrib/corba/_ServerObjectStub.java Generated by the IDL-to-Java compiler (portable), version "3.0" from tuning/distrib/corba/ServerObject.idl Thursday, March 23, 2000 7:10:51 PM GMT+00:00

Fields Summary
private static String[]
__ids
Constructors Summary
public _ServerObjectStub()

    super ();
  
public _ServerObjectStub(org.omg.CORBA.portable.Delegate delegate)

    super ();
    _set_delegate (delegate);
  
Methods Summary
public java.lang.String[]_ids()


     
  
    return (String[])__ids.clone ();
  
public booleangetBoolean()

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("getBoolean", true);
       _in = _invoke (_out);
       boolean __result = _in.read_boolean ();
       return __result;
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       return getBoolean ();
    } finally {
        _releaseReply (_in);
    }
  
public intgetNumber()

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("getNumber", true);
       _in = _invoke (_out);
       int __result = _in.read_long ();
       return __result;
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       return getNumber ();
    } finally {
        _releaseReply (_in);
    }
  
public java.lang.StringgetString()

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("getString", true);
       _in = _invoke (_out);
       String __result = _in.read_string ();
       return __result;
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       return getString ();
    } finally {
        _releaseReply (_in);
    }
  
private voidreadObject(java.io.ObjectInputStream s)

     try 
     {
       String str = s.readUTF ();
       org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init ().string_to_object (str);
       org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
       _set_delegate (delegate);
     } catch (java.io.IOException e) {}
  
public voidsetAll(boolean flag, int i, java.lang.String obj)

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("setAll", true);
       _out.write_boolean (flag);
       _out.write_long (i);
       _out.write_string (obj);
       _in = _invoke (_out);
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       setAll (flag, i, obj);
    } finally {
        _releaseReply (_in);
    }
  
public voidsetBoolean(boolean flag)

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("setBoolean", true);
       _out.write_boolean (flag);
       _in = _invoke (_out);
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       setBoolean (flag);
    } finally {
        _releaseReply (_in);
    }
  
public voidsetNumber(int i)

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("setNumber", true);
       _out.write_long (i);
       _in = _invoke (_out);
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       setNumber (i);
    } finally {
        _releaseReply (_in);
    }
  
public voidsetString(java.lang.String obj)

    org.omg.CORBA.portable.InputStream _in = null;
    try {
       org.omg.CORBA.portable.OutputStream _out = _request ("setString", true);
       _out.write_string (obj);
       _in = _invoke (_out);
    } catch (org.omg.CORBA.portable.ApplicationException _ex) {
       _in = _ex.getInputStream ();
       String _id = _ex.getId ();
       throw new org.omg.CORBA.MARSHAL (_id);
    } catch (org.omg.CORBA.portable.RemarshalException _rm) {
       setString (obj);
    } finally {
        _releaseReply (_in);
    }
  
private voidwriteObject(java.io.ObjectOutputStream s)

     try 
     {
       String str = org.omg.CORBA.ORB.init ().object_to_string (this);
       s.writeUTF (str);
     } catch (java.io.IOException e) {}