public interface SPAEventStreamSource
SPAEvent stream can be obtained, and via which
an SPAEventAck can be delivered in response.| Modifier and Type | Method and Description |
|---|---|
void |
deliverAck(SPAEventAck ack)
Delivers the given acknowledgement in response to the event
most recently obtained via
getNextEvent(),
waiting if necessary until it can be accepted. |
void |
deliverAck(java.lang.String ackmsg)
Delivers a new failure acknowledgement with the given descriptive
text in response to the event most recently obtained via
getNextEvent(), waiting if necessary until it can be accepted. |
void |
deliverOKAck()
Delivers an OK acknowledgement.
|
SPAEvent |
getNextEvent()
Obtains the next event from this source, waiting if necessary until
it becomes available.
|
SPAEvent getNextEvent() throws java.lang.InterruptedException
java.lang.InterruptedExceptionvoid deliverAck(SPAEventAck ack) throws java.lang.InterruptedException
getNextEvent(),
waiting if necessary until it can be accepted.java.lang.InterruptedExceptionvoid deliverOKAck()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionvoid deliverAck(java.lang.String ackmsg)
throws java.lang.InterruptedException
getNextEvent(), waiting if necessary until it can be accepted.java.lang.InterruptedException