Package ibis.ipl.impl.multi
Class MultiReadMessage
- java.lang.Object
-
- ibis.ipl.impl.multi.MultiReadMessage
-
- All Implemented Interfaces:
ibis.ipl.ReadMessage
public class MultiReadMessage extends java.lang.Object implements ibis.ipl.ReadMessage
-
-
Constructor Summary
Constructors Constructor Description MultiReadMessage(ibis.ipl.ReadMessage base, MultiReceivePort port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbytesRead()longfinish()voidfinish(java.io.IOException e)ibis.ipl.ReceivePortlocalPort()ibis.ipl.SendPortIdentifierorigin()voidreadArray(boolean[] destination)voidreadArray(boolean[] destination, int offset, int size)voidreadArray(byte[] destination)voidreadArray(byte[] destination, int offset, int size)voidreadArray(char[] destination)voidreadArray(char[] destination, int offset, int size)voidreadArray(double[] destination)voidreadArray(double[] destination, int offset, int size)voidreadArray(float[] destination)voidreadArray(float[] destination, int offset, int size)voidreadArray(int[] destination)voidreadArray(int[] destination, int offset, int size)voidreadArray(long[] destination)voidreadArray(long[] destination, int offset, int size)voidreadArray(short[] destination)voidreadArray(short[] destination, int offset, int size)voidreadArray(java.lang.Object[] destination)voidreadArray(java.lang.Object[] destination, int offset, int size)booleanreadBoolean()bytereadByte()voidreadByteBuffer(java.nio.ByteBuffer value)charreadChar()doublereadDouble()floatreadFloat()intreadInt()longreadLong()java.lang.ObjectreadObject()shortreadShort()java.lang.StringreadString()intremaining()longsequenceNumber()intsize()
-
-
-
Constructor Detail
-
MultiReadMessage
public MultiReadMessage(ibis.ipl.ReadMessage base, MultiReceivePort port)
-
-
Method Detail
-
bytesRead
public long bytesRead() throws java.io.IOException- Specified by:
bytesReadin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
finish
public long finish() throws java.io.IOException- Specified by:
finishin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
finish
public void finish(java.io.IOException e)
- Specified by:
finishin interfaceibis.ipl.ReadMessage
-
localPort
public ibis.ipl.ReceivePort localPort()
- Specified by:
localPortin interfaceibis.ipl.ReadMessage
-
origin
public ibis.ipl.SendPortIdentifier origin()
- Specified by:
originin interfaceibis.ipl.ReadMessage
-
readArray
public void readArray(boolean[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(boolean[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(byte[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(byte[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(char[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(char[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(double[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(double[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(float[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(float[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(int[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(int[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(long[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(long[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.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:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
readArray
public void readArray(java.lang.Object[] destination) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
readArray
public void readArray(short[] destination, int offset, int size) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readArray
public void readArray(short[] destination) throws java.io.IOException- Specified by:
readArrayin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readBoolean
public boolean readBoolean() throws java.io.IOException- Specified by:
readBooleanin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readByte
public byte readByte() throws java.io.IOException- Specified by:
readBytein interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readChar
public char readChar() throws java.io.IOException- Specified by:
readCharin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readDouble
public double readDouble() throws java.io.IOException- Specified by:
readDoublein interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readFloat
public float readFloat() throws java.io.IOException- Specified by:
readFloatin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readInt
public int readInt() throws java.io.IOException- Specified by:
readIntin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readLong
public long readLong() throws java.io.IOException- Specified by:
readLongin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readObject
public java.lang.Object readObject() throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readObjectin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
readShort
public short readShort() throws java.io.IOException- Specified by:
readShortin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readString
public java.lang.String readString() throws java.io.IOException- Specified by:
readStringin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
sequenceNumber
public long sequenceNumber()
- Specified by:
sequenceNumberin interfaceibis.ipl.ReadMessage
-
remaining
public int remaining() throws java.io.IOException- Specified by:
remainingin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
size
public int size() throws java.io.IOException- Specified by:
sizein interfaceibis.ipl.ReadMessage- Throws:
java.io.IOException
-
readByteBuffer
public void readByteBuffer(java.nio.ByteBuffer value) throws java.io.IOException, java.nio.ReadOnlyBufferException- Specified by:
readByteBufferin interfaceibis.ipl.ReadMessage- Throws:
java.io.IOExceptionjava.nio.ReadOnlyBufferException
-
-