aries / net.globalid.aries.transport / MessageDispatcher / dispatch

dispatch

fun dispatch(agent: Agent, message: OutboundMessage): Completable

Dispatches the message.

Parameters

agent - for which to dispatch the message

message - the dispatched message

Return
Completable. We don't care about response because the routing is not duplex

protected abstract fun dispatch(packed: OutboundPackage): Completable

Dispatches the package.

Parameters

packed - is the OutboundPackage with payload and endpoint URI.

Return
Completable. We don't care about response because the routing is not duplex