- All Known Implementing Classes:
ConnectionDataReceiver
- Enclosing class:
MessageOutputStream
public static interface MessageOutputStream.DataReceiver
Interface for receiving data flushed from this stream.
Method Summary
All MethodsModifier and TypeMethodDescriptionwriteData(byte[] buf, int off, int size) Non-blocking write of data.booleanIndicates whether a write is currently in process.
Method Details
writeData
Non-blocking write of data.- Parameters:
buf- buffer containing dataoff- offset in buffer to start writingsize- 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