aries-mediator-dotnet / net.globalid.aries.mediator.dotnet.mediator / DotnetMediatorManager / ensureMediatorRecord

ensureMediatorRecord

fun ensureMediatorRecord(agent: Agent): Single<MediatorRecord>

See MediatorManager.ensureMediatorRecord. Makes sure that the agent has a mediator record by using DotnetMediatorManager. After that, we check if the dotnet mediator record is present. If it is not, we connect to the mediator and setup an inbox.

Parameters

agent - which to mediate with mediator.