|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.vm.api.jsvc.AbstractExternalService gov.nasa.arc.brahms.vm.api.jsvc.AbstractSynchronousEventService
public abstract class AbstractSynchronousEventService
The AbstractSynchronousEventService is a base class for external services that want to handle the events generated by the virtual machine synchronously. This means that any events send to this service will be handled in full before returning control to the virtual machine.
AbstractExternalService
,
IExternalService
Constructor Summary | |
---|---|
AbstractSynchronousEventService()
|
Method Summary | |
---|---|
void |
init()
Initializes the service |
abstract void |
processEvent(IEventMessage evt)
Processes the event. |
void |
start()
Start the service, registering the service with the event notifier so it can receive the events published to the event notifier. |
void |
stop()
Stops the service, unregistering the service with the event notifier. |
Methods inherited from class gov.nasa.arc.brahms.vm.api.jsvc.AbstractExternalService |
---|
assertFact, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, getContext, getID, getModel, getName, getVMController, getWorldState, isValidTruthValue, retractFact, send, send, send, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSynchronousEventService()
Method Detail |
---|
public void init()
init
in interface IExternalService
init
in class AbstractExternalService
public void start()
start
in interface IExternalService
start
in class AbstractExternalService
public void stop()
stop
in interface IExternalService
stop
in class AbstractExternalService
public abstract void processEvent(IEventMessage evt)
evt
- the IEventMessage to be handled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |