Module 

Interface WritableMultipointMessageChannel

    • Method Detail

      • sendTo

        boolean sendTo​(java.net.SocketAddress target,
                       java.nio.ByteBuffer buffer)
                throws java.io.IOException
        Send a buffer to a destination.
        Parameters:
        target - the destination
        buffer - the data to send
        Returns:
        true if the message was sent, or false if the channel is not currently writable
        Throws:
        java.io.IOException - if an I/O error occurs
      • sendTo

        boolean sendTo​(java.net.SocketAddress target,
                       java.nio.ByteBuffer[] buffers)
                throws java.io.IOException
        Send a message with data from multiple buffers to a destination.
        Parameters:
        target - the destination
        buffers - the data to send
        Returns:
        true if the message was sent, or false if the channel is not currently writable
        Throws:
        java.io.IOException - if an I/O error occurs
      • sendTo

        boolean sendTo​(java.net.SocketAddress target,
                       java.nio.ByteBuffer[] buffers,
                       int offset,
                       int length)
                throws java.io.IOException
        Send a message with data from multiple buffers to a destination.
        Parameters:
        target - the destination
        buffers - the data to send
        offset - the offset into the buffers array
        length - the number of buffers to read from
        Returns:
        true if the message was sent, or false if the channel is not currently writable
        Throws:
        java.io.IOException - if an I/O error occurs