public void _read(final org.omg.CORBA.portable.InputStream _in) { value = org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.read(_in); } public void _write(final org.omg.CORBA.portable.OutputStream _out)
public void _read(final org.omg.CORBA.portable.InputStream _in) { value = org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.read(_in); } public void _write(final org.omg.CORBA.portable.OutputStream _out)
public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.read (i); }
public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.read (i); }
public static org.omg.CSIIOP.SECIOP_SEC_TRANS extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); }
public static org.omg.CSIIOP.SECIOP_SEC_TRANS extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); }
public static org.omg.CSIIOP.SECIOP_SEC_TRANS extract (final org.omg.CORBA.Any any) { org.omg.CORBA.portable.InputStream in = any.create_input_stream(); try { return read (in); } finally { try { in.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } }
public static org.omg.CSIIOP.SECIOP_SEC_TRANS extract (final org.omg.CORBA.Any any) { org.omg.CORBA.portable.InputStream in = any.create_input_stream(); try { return read (in); } finally { try { in.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } }
private static String describeSECIOP_SEC_TRANS(org.omg.IOP.TaggedComponent component) { String result = ""; byte[] coct = component.component_data; int len = component.component_data.length; org.apache.yoko.orb.OCI.Buffer buf = new org.apache.yoko.orb.OCI.Buffer( coct, len); org.apache.yoko.orb.CORBA.InputStream in = new org.apache.yoko.orb.CORBA.InputStream( buf, 0, false); in._OB_readEndian(); org.omg.CSIIOP.SECIOP_SEC_TRANS info = org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.read(in); result += " SECIOP_SEC_TRANS component:\n"; result += " target_supports: " + describeTransportFlags(info.target_supports) + "\n"; result += " target_requires: " + describeTransportFlags(info.target_requires) + "\n"; result += " mech_oid: " + format_octets(info.mech_oid) + "\n"; result += " target_name: " + format_octets(info.target_name) + "\n"; result += " addresses:\n"; for (int i = 0; i < info.addresses.length; i++) { result += " host_name: " + info.addresses[i].host_name + "\n"; result += " port: " + info.addresses[i].port + "\n"; } return result; }