Examples of read_ulong()


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

                    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();
                        tc.memberTypes[i] = read(encap_in, toplevel, map);
View Full Code Here

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

                    tc.kind = TCKind.tk_union;
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    tc.discriminatorType = read(encap_in, toplevel, map);
                    int index = encap_in.read_long();
                    int count = encap_in.read_ulong();
                    tc.labels = new AnyImpl[count];
                    tc.memberNames = new String[count];
                    tc.memberTypes = new TypeCodeImpl[count];

                    for (int i = 0; i < count; i++) {
View Full Code Here

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

            case TCKind._tk_enum: {
                encap_in = in.__open_encapsulation();
                try {
                    String id = encap_in.read_string();
                    String name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    String[] names = new String[count];
                    for (int i = 0; i < count; i++)
                        names[i] = encap_in.read_string();
                    tc = create_enum_tc(id, name, names);
View Full Code Here

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

                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);

                    tc.kind = TCKind.from_int(kind);
                    tc.contentType = read(encap_in, toplevel, map);
                    tc.length = encap_in.read_ulong();
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

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

                    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();
                    tc.memberNames = new String[count];
                    tc.memberTypes = new TypeCodeImpl[count];
                    tc.memberVisibility = new short[count];

                    for (int i = 0; i < count; i++) {
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.InputStream.read_ulong()

                //
                // Read components if the IIOP version is > 1.0
                //
                org.omg.IOP.TaggedComponent[] components;
                if (body.iiop_version.major > 1 || body.iiop_version.minor > 0) {
                    int len = in.read_ulong();
                    components = new org.omg.IOP.TaggedComponent[len];
                    for (int j = 0; j < len; j++)
                        components[j] = org.omg.IOP.TaggedComponentHelper
                                .read(in);
                } else
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.InputStream.read_ulong()

        //
        // Populate the DynAnys by unmarshalling the sequence of Anys.
        // Start by skipping the sequence lenght
        //
        in.read_ulong();

        for (int i = 0; i < values.length; i++) {
            in.read_TypeCode();
            DynAny_impl impl = (DynAny_impl) result[i];
            impl._OB_unmarshal(in);
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.InputStream.read_ulong()

        //
        // Populate the DynAnys by unmarshalling the sequence of Anys.
        // Start by skipping the sequence lenght
        //
        in.read_ulong();

        for (int i = 0; i < values.length; i++) {
            in.read_TypeCode();
            DynAny_impl impl = (DynAny_impl) result[i];
            impl._OB_unmarshal(in);
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.InputStream.read_ulong()

                //
                // Read components if the IIOP version is > 1.0
                //
                org.omg.IOP.TaggedComponent[] components;
                if (body.iiop_version.major > 1 || body.iiop_version.minor > 0) {
                    int len = in.read_ulong();
                    components = new org.omg.IOP.TaggedComponent[len];
                    for (int j = 0; j < len; j++)
                        components[j] = org.omg.IOP.TaggedComponentHelper
                                .read(in);
                } else
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.read_ulong()

        {
            in.openEncapsulatedArray();

            readAddressProfile(in);

            int length = in.read_ulong();

            if (in.available() < length)
            {
                throw new MARSHAL("Unable to extract object key. Only " + in.available() + " available and trying to assign " + length);
            }
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.