Edge agent implementation

Export

Hierarchy

  • Agent

Implements

Constructors

Properties

agentCredentials: AgentCredentials
agentDIDHigherFunctions: AgentDIDHigherFunctions
agentInvitations: AgentInvitations
api: Api = ...
apollo: Domain.Apollo
castor: Domain.Castor
connectionManager: ConnectionsManager
mediationHandler: MediatorHandler
mercury: Domain.Mercury
pluto: Pluto
pollux: Pollux
seed: Seed = ...
state: AgentState = AgentState.STOPPED

Agent state

Accessors

Methods

  • Asyncronously accept a didcomm v2 invitation, will create a pair between the Agent its connecting with and the current owner's did

    Parameters

    • invitation: OutOfBandInvitation

    Returns Promise<void>

    Deprecated

    • use acceptInvitation

    Async

  • Add an event listener to get notified from an Event "MESSAGE"

    Parameters

    Returns void

  • Remove event listener, used by stop procedure

    Parameters

    Returns void

    Date

    20/06/2023 - 14:31:30

  • Start fetching for new messages in such way that it can be stopped at any point in time without causing memory leaks

    Parameters

    • iterationPeriod: number

    Returns void

  • Asyncronously stop the agent and any side task that is running

    Returns Promise<void>

    Async