All Known Implementing Classes:
ConnectionDataReceiver
Enclosing class:
MessageOutputStream

public static interface MessageOutputStream.DataReceiver
Interface for receiving data flushed from this stream.
  • Method Details

    • writeData

      MessageOutputStream.WriteStatus writeData(byte[] buf, int off, int size)
      Non-blocking write of data.
      Parameters:
      buf - buffer containing data
      off - offset in buffer to start writing
      size - number of bytes to write
      Returns:
      WriteStatus to monitor acceptance and completion of write
    • writeInProcess

      boolean writeInProcess()
      Indicates whether a write is currently in process.
      Returns:
      true if a write is in progress, false otherwise