Package org.apache.geronimo.corba.io

Examples of org.apache.geronimo.corba.io.EncapsulationInputStream.read_short()


    }

    public static Component read(AbstractORB orb, byte[] data) {
        EncapsulationInputStream in = new EncapsulationInputStream(orb, data);
        String host = in.read_string();
        int port = in.read_short() & 0xffff;
        return new AlternateIIOPComponent(orb, host, port);
    }

}
View Full Code Here


                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.tk_value;
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    tc.typeModifier = encap_in.read_short();
                    tc.concreteBaseType = read(encap_in, toplevel, map);
                    if (tc.concreteBaseType.kind() == TCKind.tk_null) {
                        tc.concreteBaseType = null;
                    }
                    int count = encap_in.read_ulong();
View Full Code Here

                    tc.memberVisibility = new short[count];

                    for (int i = 0; i < count; i++) {
                        tc.memberNames[i] = encap_in.read_string();
                        tc.memberTypes[i] = read(encap_in, toplevel, map);
                        tc.memberVisibility[i] = encap_in.read_short();
                    }

                }
                finally {
                    in.__close_encapsulation(encap_in);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.