public class BATestScriptListener extends AbstractFinishingListener
eventFilter, logger, name| Constructor and Description |
|---|
BATestScriptListener(EventListenerContext context,
BATestBotScript script,
java.net.URI coordinatorURI,
java.net.URI participantURI,
long millisBetweenMessages) |
BATestScriptListener(EventListenerContext context,
java.lang.String name,
BATestBotScript script,
java.net.URI coordinatorURI,
java.net.URI participantURI,
long millisBetweenMessages) |
| Modifier and Type | Method and Description |
|---|---|
protected static EventFilter |
createEventFilter(java.net.URI coordinatorURI,
java.net.URI participantURI) |
java.net.URI |
getCoordinatorSideConnectionURI() |
java.net.URI |
getCoordinatorURI() |
java.net.URI |
getParticipantSideConnectionURI() |
java.net.URI |
getParticipantURI() |
protected void |
handleEvent(Event event) |
boolean |
isFinished() |
void |
setCoordinatorSideConnectionURI(java.net.URI coordinatorSideConnectionURI) |
void |
setParticipantSideConnectionURI(java.net.URI participantSideConnectionURI) |
java.lang.String |
toString() |
protected void |
unsubscribe() |
void |
updateFilterForBothConnectionURIs() |
doOnEvent, performFinishcountThrowable, getEventCount, getEventListenerContext, getExceptionCount, getMillisExecuting, isUnsubscribeOnException, onEvent, publishFinishedEvent, setUnsubscribeOnException, shouldHandleEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonEventpublic BATestScriptListener(EventListenerContext context, BATestBotScript script, java.net.URI coordinatorURI, java.net.URI participantURI, long millisBetweenMessages)
public BATestScriptListener(EventListenerContext context, java.lang.String name, BATestBotScript script, java.net.URI coordinatorURI, java.net.URI participantURI, long millisBetweenMessages)
protected static EventFilter createEventFilter(java.net.URI coordinatorURI, java.net.URI participantURI)
public boolean isFinished()
isFinished in interface FinishingListenerisFinished in class AbstractFinishingListenerprotected void unsubscribe()
unsubscribe in class AbstractFinishingListenerprotected void handleEvent(Event event) throws java.lang.Exception
handleEvent in class AbstractFinishingListenerjava.lang.Exceptionpublic void updateFilterForBothConnectionURIs()
public java.net.URI getCoordinatorURI()
public java.net.URI getParticipantURI()
public java.net.URI getCoordinatorSideConnectionURI()
public java.net.URI getParticipantSideConnectionURI()
public void setCoordinatorSideConnectionURI(java.net.URI coordinatorSideConnectionURI)
public void setParticipantSideConnectionURI(java.net.URI participantSideConnectionURI)
public java.lang.String toString()
toString in class AbstractFinishingListenerCopyright © 2018. All Rights Reserved.