|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SPAEventStreamSource
Interface defining a source from which successive items in an
SPAEvent
stream can be obtained, and via which
an SPAEventAck
can be delivered in response.
Method Summary | |
---|---|
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. |
Method Detail |
---|
SPAEvent getNextEvent() throws java.lang.InterruptedException
java.lang.InterruptedException
void deliverAck(SPAEventAck ack) throws java.lang.InterruptedException
getNextEvent()
,
waiting if necessary until it can be accepted.
java.lang.InterruptedException
void deliverOKAck() throws java.lang.InterruptedException
java.lang.InterruptedException
void deliverAck(java.lang.String ackmsg) throws java.lang.InterruptedException
getNextEvent()
, waiting if necessary until it can be accepted.
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |