Interface TransportSender

    • Method Detail

      • send

        void send​(ByteBuffer buffer,
                  TransportSendControl control)
        Called by transport. By this call transport gives callee ownership over the buffer. Calls on TransportSendControl instance must be made from calling thread. Moreover, ownership is valid only for the time of call of this method. NOTE: these limitations allow efficient implementation.
        Parameters:
        buffer - buffer to send.
        control - transport send control instance.