PacketLocalpublic static interface MessageOutputStream.WriteStatus
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
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 java.io.IOException,
java.lang.InterruptedException
maxWaitMs - -1 = foreverjava.io.IOExceptionjava.lang.InterruptedExceptionvoid waitForAccept(int maxWaitMs)
throws java.io.IOException,
java.lang.InterruptedException
maxWaitMs - -1 = foreverjava.io.IOExceptionjava.lang.InterruptedExceptionboolean writeAccepted()
boolean writeFailed()
boolean writeSuccessful()