public interface EventReply
| Modifier and Type | Method and Description |
|---|---|
static EventReply |
accepted()
Returns an event reply for which
wasAccepted() returns true and does not block. |
String |
getMessage()
Gets a short string describing the acceptance or rejection.
|
boolean |
wasAccepted()
Gets a boolean flag, blocking if need be, which tells whether an event was accepted.
|
static EventReply accepted()
wasAccepted() returns true and does not block.boolean wasAccepted()
throws InterruptedException
InterruptedExceptiongetMessage()String getMessage() throws InterruptedException
InterruptedExceptionIllegalStateException - if wasAccepted() wasn't called or threw an exception.wasAccepted()Copyright © 2019 LSST. All rights reserved.