public static IORAddressingInfo extract(org.omg.CORBA.Any a) { return read(a.create_input_stream()); }
public static IORAddressingInfo extract(org.omg.CORBA.Any a) { return read(a.create_input_stream()); }
public static TargetAddress read(org.omg.CORBA.portable.InputStream istream) { TargetAddress value = new TargetAddress(); short _dis0 = (short) 0; _dis0 = istream.read_short(); switch (_dis0) { case KeyAddr.value : byte _object_key[] = null; int _len1 = istream.read_long(); _object_key = new byte[_len1]; istream.read_octet_array(_object_key, 0, _len1); value.object_key(_object_key); break; case ProfileAddr.value : org.omg.IOP.TaggedProfile _profile = null; _profile = org.omg.IOP.TaggedProfileHelper.read(istream); value.profile(_profile); break; case ReferenceAddr.value : IORAddressingInfo _ior = null; _ior = IORAddressingInfoHelper.read(istream); value.ior(_ior); break; default : throw new org.omg.CORBA.BAD_OPERATION(); } return value; }
public static TargetAddress read(org.omg.CORBA.portable.InputStream istream) { TargetAddress value = new TargetAddress(); short _dis0 = (short) 0; _dis0 = istream.read_short(); switch (_dis0) { case KeyAddr.value : byte _object_key[] = null; int _len1 = istream.read_long(); _object_key = new byte[_len1]; istream.read_octet_array(_object_key, 0, _len1); value.object_key(_object_key); break; case ProfileAddr.value : org.omg.IOP.TaggedProfile _profile = null; _profile = org.omg.IOP.TaggedProfileHelper.read(istream); value.profile(_profile); break; case ReferenceAddr.value : IORAddressingInfo _ior = null; _ior = IORAddressingInfoHelper.read(istream); value.ior(_ior); break; default : throw new org.omg.CORBA.BAD_OPERATION(); } return value; }