Methods Summary |
---|
public static ThisOrThatServer | extract(org.omg.CORBA.Any a)
org.omg.CORBA.portable.InputStream in = a.create_input_stream();
return read(in);
|
public static java.lang.String | id()
return "IDL:ThisOrThatServer:1.0";
|
public static void | insert(org.omg.CORBA.Any a, ThisOrThatServer that)
org.omg.CORBA.portable.OutputStream out = a.create_output_stream();
write(out, that);
a.read_value(out.create_input_stream(), type());
|
public static ThisOrThatServer | narrow(org.omg.CORBA.Object that)
if (that == null)
return null;
if (that instanceof ThisOrThatServer)
return (ThisOrThatServer) that;
if (!that._is_a(id())) {
throw new org.omg.CORBA.BAD_PARAM();
}
org.omg.CORBA.portable.Delegate dup = ((org.omg.CORBA.portable.ObjectImpl)that)._get_delegate();
ThisOrThatServer result = new _ThisOrThatServerStub(dup);
return result;
|
public static ThisOrThatServer | read(org.omg.CORBA.portable.InputStream in)
return ThisOrThatServerHelper.narrow(in.read_Object());
|
public static synchronized org.omg.CORBA.TypeCode | type()
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_interface_tc(id(), "ThisOrThatServer");
return _tc;
|
public static void | write(org.omg.CORBA.portable.OutputStream out, ThisOrThatServer that)
out.write_Object(that);
|