Module swim.api

Interface AgentFactory<A extends Agent>

All Known Subinterfaces:
AgentRoute<A>
All Known Implementing Classes:
AbstractAgentRoute, GuestAgentRoute, JavaAgentFactory, JsAgentFactory

public interface AgentFactory<A extends Agent>
For some class A extends Agent, factory to create instances of A.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an instance of A with internal context context.
    id(Uri nodeUri)
     
    props(Uri nodeUri)
     
  • Method Details

    • createAgent

      A createAgent(AgentContext context)
      Creates an instance of A with internal context context.
    • id

      Value id(Uri nodeUri)
    • props

      Value props(Uri nodeUri)