fun dispatch(agent: Agent, message: OutboundMessage): Completable
Dispatches the message.
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.
packed
- is the OutboundPackage with payload and endpoint URI.
Return
Completable. We don't care about response because the routing is not duplex