Package org.apache.geronimo.corba.io

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


        return port;
    }

    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


                break;

            case TCKind._tk_objref:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_interface_tc(encap_in.read_string(), encap_in
                            .read_string());
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

                break;

            case TCKind._tk_objref:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_interface_tc(encap_in.read_string(), encap_in
                            .read_string());
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

                break;

            case TCKind._tk_abstract_interface:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_abstract_interface_tc(encap_in.read_string(),
                                                      encap_in.read_string());
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

            case TCKind._tk_abstract_interface:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_abstract_interface_tc(encap_in.read_string(),
                                                      encap_in.read_string());
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
                in.__close_encapsulation(encap_in);
View Full Code Here

                break;

            case TCKind._tk_native:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_native_tc(encap_in.read_string(), encap_in
                            .read_string());
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

                break;

            case TCKind._tk_native:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_native_tc(encap_in.read_string(), encap_in
                            .read_string());
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

                try {

                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.from_int(kind);
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    tc.memberNames = new String[count];
                    tc.memberTypes = new TypeCodeImpl[count];
                    for (int i = 0; i < count; i++) {
View Full Code Here

                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.from_int(kind);
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    tc.memberNames = new String[count];
                    tc.memberTypes = new TypeCodeImpl[count];
                    for (int i = 0; i < count; i++) {
                        tc.memberNames[i] = encap_in.read_string();
View Full Code Here

                    tc.name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    tc.memberNames = new String[count];
                    tc.memberTypes = new TypeCodeImpl[count];
                    for (int i = 0; i < count; i++) {
                        tc.memberNames[i] = encap_in.read_string();
                        tc.memberTypes[i] = read(encap_in, toplevel, map);
                    }

                }
                finally {
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.