Package adams.scripting.responsehandler
Interface ResponseHandler
-
- All Known Implementing Classes:
AbstractRemoteFlowTab.FlowListResponseHandler,AbstractResponseHandler,AbstractTabResponseHandler,AdvancedTab.InspectionResponseHandler,CallableActorsHandler,CommandDumperHandler,LoggingHandler,MultiHandler,NullHandler,RemoteLoggingTab.LoggingResponseHandler,SimpleLogPanelResponseHandler,SimpleTabResponseHandler
public interface ResponseHandlerFor handling responses.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteScriptingEnginegetOwner()Returns the owning engine.voidresponseFailed(RemoteCommand cmd, String msg)Handles failed responses.voidresponseSuccessful(RemoteCommand cmd)Handles successful responses.voidsetOwner(RemoteScriptingEngine value)Sets the owning engine.
-
-
-
Method Detail
-
setOwner
void setOwner(RemoteScriptingEngine value)
Sets the owning engine.- Parameters:
value- the owner
-
getOwner
RemoteScriptingEngine getOwner()
Returns the owning engine.- Returns:
- the owner, null if none set
-
responseSuccessful
void responseSuccessful(RemoteCommand cmd)
Handles successful responses.- Parameters:
cmd- the command with the response
-
responseFailed
void responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.- Parameters:
cmd- the command with the responsemsg- message, can be null
-
-