java.lang.Object
swim.api.agent.AbstractAgentRoute<A>
- All Implemented Interfaces:
AgentFactory<A>,AgentRoute<A>
- Direct Known Subclasses:
JavaAgentFactory,JsAgentFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe internal context used to provide concrete implementations to mostAgentRoutemethods.abstract AcreateAgent(AgentContext context) Creates an instance ofAwith internal contextcontext.pattern()TheUriPatternthat everynodeUricorresponding to an instance ofAmust match.Returns a plane-unique identifier for this agent route.voidsetAgentRouteContext(AgentRouteContext context) Updates the internal context used to provide concrete implementations to mostAgentRoutemethods.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface swim.api.agent.AgentFactory
id
-
Field Details
-
context
-
-
Constructor Details
-
AbstractAgentRoute
public AbstractAgentRoute()
-
-
Method Details
-
agentRouteContext
Description copied from interface:AgentRouteThe internal context used to provide concrete implementations to mostAgentRoutemethods.- Specified by:
agentRouteContextin interfaceAgentRoute<A extends Agent>
-
setAgentRouteContext
Description copied from interface:AgentRouteUpdates the internal context used to provide concrete implementations to mostAgentRoutemethods.- Specified by:
setAgentRouteContextin interfaceAgentRoute<A extends Agent>
-
routeName
Description copied from interface:AgentRouteReturns a plane-unique identifier for this agent route.- Specified by:
routeNamein interfaceAgentRoute<A extends Agent>
-
pattern
Description copied from interface:AgentRouteTheUriPatternthat everynodeUricorresponding to an instance ofAmust match.- Specified by:
patternin interfaceAgentRoute<A extends Agent>
-
createAgent
Description copied from interface:AgentFactoryCreates an instance ofAwith internal contextcontext.- Specified by:
createAgentin interfaceAgentFactory<A extends Agent>
-
props
- Specified by:
propsin interfaceAgentFactory<A extends Agent>
-