-
- All Known Implementing Classes:
AbstractAgent,GuestAgent,JsAgent
public interface Agent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentContextagentContext()Returns theAgentContextused to manage thisAgent.voiddidClose()Lifecycle callback invoked immediately after thisAgentcloses.voiddidFail(Throwable error)Lifecycle callback invoked immediately after thisAgentthrowserror.voiddidLoad()Lifecycle callback invoked immediately after thisAgentloads, i.e.voiddidOpen()Lifecycle callback invoked immediately after thisAgentopens, i.e.voiddidStart()Lifecycle callback invoked immediately after thisAgentstarts.voiddidStop()Lifecycle callback invoked immediately after thisAgentstops, i.e.voiddidUnload()Lifecycle callback invoked immediately after thisAgentunloads, i.e.voidwillClose()Lifecycle callback invoked immediately before thisAgentcloses.voidwillLoad()Lifecycle callback invoked immediately before thisAgentloads.voidwillOpen()Lifecycle callback invoked immediately before thisAgentopens.voidwillStart()Lifecycle callback invoked immediately before thisAgentstarts.voidwillStop()Lifecycle callback invoked immediately before thisAgentstops.voidwillUnload()Lifecycle callback invoked immediately before thisAgentunloads.
-
-
-
Method Detail
-
agentContext
AgentContext agentContext()
Returns theAgentContextused to manage thisAgent.
-
willOpen
void willOpen()
Lifecycle callback invoked immediately before thisAgentopens.//@see swim.runtime.TierBinding#open
-
didOpen
void didOpen()
Lifecycle callback invoked immediately after thisAgentopens, i.e. before it loads.//@see swim.runtime.TierBinding#open //@see swim.runtime.TierBinding#load
-
willLoad
void willLoad()
Lifecycle callback invoked immediately before thisAgentloads.//@see swim.runtime.TierBinding#load
-
didLoad
void didLoad()
Lifecycle callback invoked immediately after thisAgentloads, i.e. before it starts.//@see swim.runtime.TierBinding#load //@see swim.runtime.TierBinding#start
-
willStart
void willStart()
Lifecycle callback invoked immediately before thisAgentstarts.//@see swim.runtime.TierBinding#start
-
didStart
void didStart()
Lifecycle callback invoked immediately after thisAgentstarts.//@see swim.runtime.TierBinding#start
-
willStop
void willStop()
Lifecycle callback invoked immediately before thisAgentstops.//@see swim.runtime.TierBinding#stop
-
didStop
void didStop()
Lifecycle callback invoked immediately after thisAgentstops, i.e. before it unloads.//@see swim.runtime.TierBinding#stop //@see swim.runtime.TierBinding#unload
-
willUnload
void willUnload()
Lifecycle callback invoked immediately before thisAgentunloads.//@see swim.runtime.TierBinding#unload
-
didUnload
void didUnload()
Lifecycle callback invoked immediately after thisAgentunloads, i.e. before it closes.//@see swim.runtime.TierBinding.unload //@see swim.runtime.TierBinding.close
-
willClose
void willClose()
Lifecycle callback invoked immediately before thisAgentcloses.//@see swim.runtime.TierBinding.close
-
didClose
void didClose()
Lifecycle callback invoked immediately after thisAgentcloses.//@see swim.runtime.TierBinding.close
-
didFail
void didFail(Throwable error)
Lifecycle callback invoked immediately after thisAgentthrowserror.
-
-