|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface MessageOutputStream.WriteStatus
Define a way to detect the status of a write
| Method Summary | |
|---|---|
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()
the write was accepted. |
boolean |
writeFailed()
did the write fail? |
boolean |
writeSuccessful()
did the write succeed? |
| Method Detail |
|---|
void waitForCompletion(int maxWaitMs)
maxWaitMs - -1 = forevervoid waitForAccept(int maxWaitMs)
maxWaitMs - -1 = foreverboolean writeAccepted()
boolean writeFailed()
boolean writeSuccessful()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||