public static interface MessageOutputStream.WriteStatus
Modifier and Type | Method and Description |
---|---|
void |
waitForAccept(int maxWaitMs)
Wait until the data written is accepted into the outbound pool,
(i.e.
|
void |
waitForCompletion(int maxWaitMs)
Wait until the data written either fails or succeeds.
|
boolean |
writeAccepted()
Was the write was accepted.
|
boolean |
writeFailed()
did the write fail?
|
boolean |
writeSuccessful()
did the write succeed?
|
void waitForCompletion(int maxWaitMs) throws IOException, InterruptedException
maxWaitMs
- -1 = foreverIOException
InterruptedException
void waitForAccept(int maxWaitMs) throws IOException, InterruptedException
maxWaitMs
- -1 = foreverIOException
InterruptedException
boolean writeAccepted()
boolean writeFailed()
boolean writeSuccessful()