org.asmatron.messengine.engines
Interface ActionDelegate

All Superinterfaces:
BaseDelegate
All Known Implementing Classes:
DefaultActionDelegate, TestActionDelegate

public interface ActionDelegate
extends BaseDelegate


Method Summary
<T extends ActionObject>
void
addActionHandler(ActionId<T> actionType, ActionHandler<T> actionHandler)
           
<T extends ActionObject>
void
removeActionHandler(ActionId<T> action)
           
<V,T> void
request(ActionId<RequestAction<V,T>> type, V requestParameter, ResponseCallback<T> callback)
           
 void send(Action<?> command)
           
 
Methods inherited from interface org.asmatron.messengine.engines.BaseDelegate
start, stop
 

Method Detail

send

void send(Action<?> command)

request

<V,T> void request(ActionId<RequestAction<V,T>> type,
                   V requestParameter,
                   ResponseCallback<T> callback)

addActionHandler

<T extends ActionObject> void addActionHandler(ActionId<T> actionType,
                                               ActionHandler<T> actionHandler)

removeActionHandler

<T extends ActionObject> void removeActionHandler(ActionId<T> action)


Copyright © 2011. All Rights Reserved.