Class MultiReadMessage

  • All Implemented Interfaces:
    ibis.ipl.ReadMessage

    public class MultiReadMessage
    extends java.lang.Object
    implements ibis.ipl.ReadMessage
    • Constructor Detail

      • MultiReadMessage

        public MultiReadMessage​(ibis.ipl.ReadMessage base,
                                MultiReceivePort port)
    • Method Detail

      • bytesRead

        public long bytesRead()
                       throws java.io.IOException
        Specified by:
        bytesRead in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • finish

        public long finish()
                    throws java.io.IOException
        Specified by:
        finish in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • finish

        public void finish​(java.io.IOException e)
        Specified by:
        finish in interface ibis.ipl.ReadMessage
      • localPort

        public ibis.ipl.ReceivePort localPort()
        Specified by:
        localPort in interface ibis.ipl.ReadMessage
      • origin

        public ibis.ipl.SendPortIdentifier origin()
        Specified by:
        origin in interface ibis.ipl.ReadMessage
      • readArray

        public void readArray​(boolean[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(boolean[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(byte[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(byte[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(char[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(char[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(double[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(double[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(float[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(float[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(int[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(int[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(long[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(long[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(java.lang.Object[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • readArray

        public void readArray​(java.lang.Object[] destination)
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • readArray

        public void readArray​(short[] destination,
                              int offset,
                              int size)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readArray

        public void readArray​(short[] destination)
                       throws java.io.IOException
        Specified by:
        readArray in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readBoolean

        public boolean readBoolean()
                            throws java.io.IOException
        Specified by:
        readBoolean in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readByte

        public byte readByte()
                      throws java.io.IOException
        Specified by:
        readByte in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readChar

        public char readChar()
                      throws java.io.IOException
        Specified by:
        readChar in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readDouble

        public double readDouble()
                          throws java.io.IOException
        Specified by:
        readDouble in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readFloat

        public float readFloat()
                        throws java.io.IOException
        Specified by:
        readFloat in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readInt

        public int readInt()
                    throws java.io.IOException
        Specified by:
        readInt in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readLong

        public long readLong()
                      throws java.io.IOException
        Specified by:
        readLong in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readObject

        public java.lang.Object readObject()
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException
        Specified by:
        readObject in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • readShort

        public short readShort()
                        throws java.io.IOException
        Specified by:
        readShort in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readString

        public java.lang.String readString()
                                    throws java.io.IOException
        Specified by:
        readString in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • sequenceNumber

        public long sequenceNumber()
        Specified by:
        sequenceNumber in interface ibis.ipl.ReadMessage
      • remaining

        public int remaining()
                      throws java.io.IOException
        Specified by:
        remaining in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • size

        public int size()
                 throws java.io.IOException
        Specified by:
        size in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
      • readByteBuffer

        public void readByteBuffer​(java.nio.ByteBuffer value)
                            throws java.io.IOException,
                                   java.nio.ReadOnlyBufferException
        Specified by:
        readByteBuffer in interface ibis.ipl.ReadMessage
        Throws:
        java.io.IOException
        java.nio.ReadOnlyBufferException