Package org.jacorb.orb

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


            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);
            }

            objectKey = new byte[length];
View Full Code Here


            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);
            }

            objectKey = new byte[length];
            in.read_octet_array(objectKey, 0, length);
View Full Code Here

            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);
            }

            objectKey = new byte[length];
View Full Code Here

            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);
            }

            objectKey = new byte[length];
            in.read_octet_array(objectKey, 0, length);
View Full Code Here

            // present, nobody will try to read it
            in.skip (header_padding);

            // read the GIOP data
            byte data[] = new byte[header.packet_length];
            if (in.available () < data.length)
            {
               throw new MARSHAL
               (
                  "Impossible length in MIOP header. Header denotes length of " +
                  header.packet_length +
View Full Code Here

               throw new MARSHAL
               (
                  "Impossible length in MIOP header. Header denotes length of " +
                  header.packet_length +
                  " but only " +
                  in.available () +
                  " is available."
               );
            }
            in.read_octet_array (data, 0, header.packet_length);
View Full Code Here

            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);
            }

            objectKey = new byte[length];
View Full Code Here

            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);
            }

            objectKey = new byte[length];
            in.read_octet_array(objectKey, 0, 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.