org.asmatron.messengine.engines
Class DefaultActionDelegate
java.lang.Object
org.asmatron.messengine.engines.DefaultActionDelegate
- All Implemented Interfaces:
- ActionDelegate, BaseDelegate
- Direct Known Subclasses:
- TestActionDelegate
public class DefaultActionDelegate
- extends java.lang.Object
- implements ActionDelegate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultActionDelegate
public DefaultActionDelegate()
DefaultActionDelegate
protected DefaultActionDelegate(java.util.concurrent.ExecutorService executorService,
ActionRunnerFactory runnerFactory)
addActionHandler
public <T extends ActionObject> void addActionHandler(ActionId<T> command,
ActionHandler<T> commandHandler)
- Specified by:
addActionHandler in interface ActionDelegate
send
public void send(Action<?> command)
- Specified by:
send in interface ActionDelegate
get
public <T extends ActionObject> ActionProcessor<T> get(ActionId<T> command,
boolean create)
removeActionHandler
public <T extends ActionObject> void removeActionHandler(ActionId<T> command)
- Specified by:
removeActionHandler in interface ActionDelegate
start
public void start()
- Specified by:
start in interface BaseDelegate
stop
public void stop()
- Specified by:
stop in interface BaseDelegate
request
public <V,T> void request(ActionId<RequestAction<V,T>> type,
V requestParameter,
ResponseCallback<T> callback)
- Specified by:
request in interface ActionDelegate
Copyright © 2011. All Rights Reserved.