aries / net.globalid.aries.agents / DefaultAgent / <init>

<init>

DefaultAgent(wallet: Wallet, pool: Pool, options: AgentOptions, provisioningService: ProvisioningService, connectionService: ConnectionService, envelopeService: EnvelopeService, handlers: List<MessageHandler>, messageDispatcher: MessageDispatcher)

An implementation of Agent using EnvelopeService to unpack incoming packed messages for processing and a list of MessageHandler that handle the unpacked messages. In addition, ConnectionService is used to connect a given unpacked agent message to a specific connection. Already unpacked messages are checked for a service decorator and are sent to the handlers for processing.