Module swim.api

Interface AgentFactory<A extends Agent>

All Known Subinterfaces:
AgentRoute<A>
All Known Implementing Classes:
AbstractAgentRoute

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.
    swim.structure.Value
    id(swim.uri.Uri nodeUri)
     
    swim.structure.Value
    props(swim.uri.Uri nodeUri)
     
  • Method Details

    • createAgent

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

      swim.structure.Value id(swim.uri.Uri nodeUri)
    • props

      swim.structure.Value props(swim.uri.Uri nodeUri)