-
- All Known Implementing Classes:
AbstractAgent
,GuestAgent
,JsAgent
public interface Agent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentContext
agentContext()
Returns theAgentContext
used to manage thisAgent
.void
didClose()
Lifecycle callback invoked immediately after thisAgent
closes.void
didFail(Throwable error)
Lifecycle callback invoked immediately after thisAgent
throwserror
.void
didLoad()
Lifecycle callback invoked immediately after thisAgent
loads, i.e.void
didOpen()
Lifecycle callback invoked immediately after thisAgent
opens, i.e.void
didStart()
Lifecycle callback invoked immediately after thisAgent
starts.void
didStop()
Lifecycle callback invoked immediately after thisAgent
stops, i.e.void
didUnload()
Lifecycle callback invoked immediately after thisAgent
unloads, i.e.void
willClose()
Lifecycle callback invoked immediately before thisAgent
closes.void
willLoad()
Lifecycle callback invoked immediately before thisAgent
loads.void
willOpen()
Lifecycle callback invoked immediately before thisAgent
opens.void
willStart()
Lifecycle callback invoked immediately before thisAgent
starts.void
willStop()
Lifecycle callback invoked immediately before thisAgent
stops.void
willUnload()
Lifecycle callback invoked immediately before thisAgent
unloads.
-
-
-
Method Detail
-
agentContext
AgentContext agentContext()
Returns theAgentContext
used to manage thisAgent
.
-
willOpen
void willOpen()
Lifecycle callback invoked immediately before thisAgent
opens.//@see swim.system.TierBinding#open
-
didOpen
void didOpen()
Lifecycle callback invoked immediately after thisAgent
opens, i.e. before it loads.//@see swim.system.TierBinding#open //@see swim.system.TierBinding#load
-
willLoad
void willLoad()
Lifecycle callback invoked immediately before thisAgent
loads.//@see swim.system.TierBinding#load
-
didLoad
void didLoad()
Lifecycle callback invoked immediately after thisAgent
loads, i.e. before it starts.//@see swim.system.TierBinding#load //@see swim.system.TierBinding#start
-
willStart
void willStart()
Lifecycle callback invoked immediately before thisAgent
starts.//@see swim.system.TierBinding#start
-
didStart
void didStart()
Lifecycle callback invoked immediately after thisAgent
starts.//@see swim.system.TierBinding#start
-
willStop
void willStop()
Lifecycle callback invoked immediately before thisAgent
stops.//@see swim.system.TierBinding#stop
-
didStop
void didStop()
Lifecycle callback invoked immediately after thisAgent
stops, i.e. before it unloads.//@see swim.system.TierBinding#stop //@see swim.system.TierBinding#unload
-
willUnload
void willUnload()
Lifecycle callback invoked immediately before thisAgent
unloads.//@see swim.system.TierBinding#unload
-
didUnload
void didUnload()
Lifecycle callback invoked immediately after thisAgent
unloads, i.e. before it closes.//@see swim.system.TierBinding.unload //@see swim.system.TierBinding.close
-
willClose
void willClose()
Lifecycle callback invoked immediately before thisAgent
closes.//@see swim.system.TierBinding.close
-
didClose
void didClose()
Lifecycle callback invoked immediately after thisAgent
closes.//@see swim.system.TierBinding.close
-
didFail
void didFail(Throwable error)
Lifecycle callback invoked immediately after thisAgent
throwserror
.
-
-