Class MultiWriteMessage

  • All Implemented Interfaces:
    ibis.ipl.WriteMessage

    public class MultiWriteMessage
    extends java.lang.Object
    implements ibis.ipl.WriteMessage
    • Constructor Detail

      • MultiWriteMessage

        public MultiWriteMessage​(ibis.ipl.WriteMessage base,
                                 MultiSendPort port)
    • Method Detail

      • bytesWritten

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

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

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

        public ibis.ipl.SendPort localPort()
        Specified by:
        localPort in interface ibis.ipl.WriteMessage
      • reset

        public void reset()
                   throws java.io.IOException
        Specified by:
        reset in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • send

        public int send()
                 throws java.io.IOException
        Specified by:
        send in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • sync

        public void sync​(int ticket)
                  throws java.io.IOException
        Specified by:
        sync in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(boolean[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(boolean[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(byte[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(byte[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(char[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(char[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(double[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(double[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(float[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(float[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(int[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(int[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(long[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(long[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(java.lang.Object[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(java.lang.Object[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(short[] val,
                               int off,
                               int len)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeArray

        public void writeArray​(short[] val)
                        throws java.io.IOException
        Specified by:
        writeArray in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeBoolean

        public void writeBoolean​(boolean val)
                          throws java.io.IOException
        Specified by:
        writeBoolean in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeByte

        public void writeByte​(byte val)
                       throws java.io.IOException
        Specified by:
        writeByte in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeChar

        public void writeChar​(char val)
                       throws java.io.IOException
        Specified by:
        writeChar in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeDouble

        public void writeDouble​(double val)
                         throws java.io.IOException
        Specified by:
        writeDouble in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeFloat

        public void writeFloat​(float val)
                        throws java.io.IOException
        Specified by:
        writeFloat in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeInt

        public void writeInt​(int val)
                      throws java.io.IOException
        Specified by:
        writeInt in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeLong

        public void writeLong​(long val)
                       throws java.io.IOException
        Specified by:
        writeLong in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeObject

        public void writeObject​(java.lang.Object val)
                         throws java.io.IOException
        Specified by:
        writeObject in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeShort

        public void writeShort​(short val)
                        throws java.io.IOException
        Specified by:
        writeShort in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • writeString

        public void writeString​(java.lang.String val)
                         throws java.io.IOException
        Specified by:
        writeString in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException
      • capacity

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

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

        public void writeByteBuffer​(java.nio.ByteBuffer value)
                             throws java.io.IOException
        Specified by:
        writeByteBuffer in interface ibis.ipl.WriteMessage
        Throws:
        java.io.IOException