ConnectionsManager is responsible of establishing didcomm connection and mediation process with other mediators through didcomm and is also responsible of managing the task to periodically fetch messages from the mediator once connection is established

Hierarchy

  • ConnectionsManager

Implements

Constructors

Properties

cancellable?: CancellableTask<void>

Cancellable task used to listen for new messages, stopping the Agent should also stop this from running and destroy the instance of the task until agent is started again

cancellables: CancellableTask<any>[] = []

An array with cancellable tasks, mainly used to store one or multiple didcomm connections in storage implementation at the same time. All of them can be cancelled despite they run asyncronously when the Edge agent stops

castor: Domain.Castor

A list of public facing events which will notify the user interface when specific things happen, for now when new messages arrive or didcomm connections are established in order to make UI more reactive

mediationHandler: MediatorHandler
mercury: Domain.Mercury
pairings: DIDPair[] = []
pluto: Pluto

Methods