- java.lang.Object
-
- swim.dynamic.BridgeGuest
-
- swim.dynamic.api.agent.GuestAgent
-
- All Implemented Interfaces:
Agent,GuestWrapper
public class GuestAgent extends BridgeGuest implements Agent
-
-
Field Summary
Fields Modifier and Type Field Description protected AgentContextagentContext-
Fields inherited from class swim.dynamic.BridgeGuest
bridge, guest
-
-
Constructor Summary
Constructors Constructor Description GuestAgent(Bridge bridge, Object guest, AgentContext agentContext)
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class swim.dynamic.BridgeGuest
bridge, unwrap
-
-
-
-
Field Detail
-
agentContext
protected final AgentContext agentContext
-
-
Constructor Detail
-
GuestAgent
public GuestAgent(Bridge bridge, Object guest, AgentContext agentContext)
-
-
Method Detail
-
agentContext
public AgentContext agentContext()
Description copied from interface:AgentReturns theAgentContextused to manage thisAgent.- Specified by:
agentContextin interfaceAgent
-
willOpen
public void willOpen()
Description copied from interface:AgentLifecycle callback invoked immediately before thisAgentopens.//@see swim.runtime.TierBinding#open
-
didOpen
public void didOpen()
Description copied from interface:AgentLifecycle callback invoked immediately after thisAgentopens, i.e. before it loads.//@see swim.runtime.TierBinding#open //@see swim.runtime.TierBinding#load
-
willLoad
public void willLoad()
Description copied from interface:AgentLifecycle callback invoked immediately before thisAgentloads.//@see swim.runtime.TierBinding#load
-
didLoad
public void didLoad()
Description copied from interface:AgentLifecycle callback invoked immediately after thisAgentloads, i.e. before it starts.//@see swim.runtime.TierBinding#load //@see swim.runtime.TierBinding#start
-
willStart
public void willStart()
Description copied from interface:AgentLifecycle callback invoked immediately before thisAgentstarts.//@see swim.runtime.TierBinding#start
-
didStart
public void didStart()
Description copied from interface:AgentLifecycle callback invoked immediately after thisAgentstarts.//@see swim.runtime.TierBinding#start
-
willStop
public void willStop()
Description copied from interface:AgentLifecycle callback invoked immediately before thisAgentstops.//@see swim.runtime.TierBinding#stop
-
didStop
public void didStop()
Description copied from interface:AgentLifecycle callback invoked immediately after thisAgentstops, i.e. before it unloads.//@see swim.runtime.TierBinding#stop //@see swim.runtime.TierBinding#unload
-
willUnload
public void willUnload()
Description copied from interface:AgentLifecycle callback invoked immediately before thisAgentunloads.//@see swim.runtime.TierBinding#unload
- Specified by:
willUnloadin interfaceAgent
-
didUnload
public void didUnload()
Description copied from interface:AgentLifecycle callback invoked immediately after thisAgentunloads, i.e. before it closes.//@see swim.runtime.TierBinding.unload //@see swim.runtime.TierBinding.close
-
willClose
public void willClose()
Description copied from interface:AgentLifecycle callback invoked immediately before thisAgentcloses.//@see swim.runtime.TierBinding.close
-
didClose
public void didClose()
Description copied from interface:AgentLifecycle callback invoked immediately after thisAgentcloses.//@see swim.runtime.TierBinding.close
-
-