aries / net.globalid.aries.agents / AgentManager

AgentManager

interface AgentManager

Describes a manager for agents.

Functions

create

Creates an Agent instance with the given AgentOptions. This agent might not be provisioned, depending on the implementation.

abstract fun create(agentOptions: AgentOptions): Single<Agent>

release

Releases the given Agent instance by freeing up related resources.

abstract fun release(agent: Agent): Completable

Inheritors

DefaultAgentManager

An implementation of AgentManager that creates instances of DefaultAgent.

class DefaultAgentManager : AgentManager