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 ResponseHandler
For 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 RemoteScriptingEngine
getOwner()
Returns the owning engine.void
responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
setOwner(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
-
-