AgentProgramImp

fmgp.did.framework.AgentProgramImp
See theAgentProgramImp companion object
class AgentProgramImp(agent: Agent, transportManager: Ref[TransportManager], protocolHandler: ProtocolExecuter[Resolver & Agent & Operations, DidFail]) extends AgentProgram

Attributes

Companion
object
Graph
Supertypes
trait AgentProgram
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def acceptTransport(transport: TransportDIDComm[Any]): URIO[Operations & Resolver, Unit]

Accept a transport where messages can be received.

Accept a transport where messages can be received.

Attributes

Definition Classes
override def receiveMsg(msg: SignedMessage | EncryptedMessage, transport: TransportDIDComm[Any]): URIO[Operations & Resolver, Unit]

receive a Message and a transport where that message was recived.

receive a Message and a transport where that message was recived.

We intend to deprecate this API in favor of acceptTransport

Attributes

Definition Classes
override def subject: DIDSubject

Attributes

Definition Classes

Concrete fields

val indentityLayer: ULayer[Agent]
val scope: Closeable