@atala/prism-wallet-sdk / Exports / ConnectionsManagerInterface
Interface: ConnectionsManagerInterface
Implemented by
Table of contents
Properties
- agentCredentials
- cancellables
- castor
- mediationHandler
- mercury
- pairings
- pluto
- withWebsocketsExperiment
Methods
- addConnection
- awaitMessageResponse
- processMessages
- registerMediator
- removeConnection
- sendMessage
- startMediator
- stopAllEvents
Properties
agentCredentials
• agentCredentials: AgentCredentials
Defined in
src/edge-agent/types/index.ts:145
cancellables
• cancellables: CancellableTask
<any
>[]
Defined in
src/edge-agent/types/index.ts:149
castor
• castor: Castor
Defined in
src/edge-agent/types/index.ts:142
mediationHandler
• mediationHandler: MediatorHandler
Defined in
src/edge-agent/types/index.ts:146
mercury
• mercury: Mercury
Defined in
src/edge-agent/types/index.ts:143
pairings
• pairings: DIDPair
[]
Defined in
src/edge-agent/types/index.ts:147
pluto
• pluto: Pluto
Defined in
src/edge-agent/types/index.ts:144
withWebsocketsExperiment
• withWebsocketsExperiment: boolean
Defined in
src/edge-agent/types/index.ts:150
Methods
addConnection
▸ addConnection(paired
): Promise
<void
>
Parameters
Name | Type |
---|---|
paired | DIDPair |
Returns
Promise
<void
>
Defined in
src/edge-agent/types/index.ts:152
awaitMessageResponse
▸ awaitMessageResponse(id
): Promise
<undefined
| Message
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<undefined
| Message
>
Defined in
src/edge-agent/types/index.ts:154
processMessages
▸ processMessages(messages
): Promise
<void
>
Parameters
Name | Type |
---|---|
messages | { attachmentId : string ; message : Message }[] |
Returns
Promise
<void
>
Defined in
src/edge-agent/types/index.ts:155
registerMediator
▸ registerMediator(hostDID
): Promise
<void
>
Parameters
Name | Type |
---|---|
hostDID | DID |
Returns
Promise
<void
>
Defined in
src/edge-agent/types/index.ts:161
removeConnection
▸ removeConnection(pair
): Promise
<void
>
Parameters
Name | Type |
---|---|
pair | DIDPair |
Returns
Promise
<void
>
Defined in
src/edge-agent/types/index.ts:153
sendMessage
▸ sendMessage(message
): Promise
<undefined
| Message
>
Parameters
Name | Type |
---|---|
message | Message |
Returns
Promise
<undefined
| Message
>
Defined in
src/edge-agent/types/index.ts:159
startMediator
▸ startMediator(): Promise
<void
>
Returns
Promise
<void
>
Defined in
src/edge-agent/types/index.ts:160
stopAllEvents
▸ stopAllEvents(): void
Returns
void