Constructors
constructor
- new ExchangeManager(context): ExchangeManager
Methods
addProtocolHandler
- addProtocolHandler(protocol): void
Returns void
close
- close(): Promise<void>
Returns Promise<void>
deleteExchange
- deleteExchange(exchangeIndex): Promise<void>
Returns Promise<void>
getProtocolHandler
- getProtocolHandler(protocolId): undefined | ProtocolHandler
hasProtocolHandler
- hasProtocolHandler(protocolId): boolean
Returns boolean
initiateExchange
- initiateExchange(address, protocolId): MessageExchange
initiateExchangeWithChannel
- initiateExchangeWithChannel(channel, protocolId): MessageExchange
Static
[create]
- [create](env): ExchangeManager