Search
Preparing search index...
The search index is not available
@jolocom/sdk - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"src/interactionManager/establishChannelFlow"
EstablishChannelFlow
Class EstablishChannelFlow
Hierarchy
Flow
<
EstablishChannelRequest
|
EstablishChannelResponse
>
EstablishChannelFlow
Index
Constructors
constructor
Properties
ctx
type
Methods
consume
Establish
Channel
Request
consume
Establish
Channel
Response
get
State
handle
Interaction
Token
Object literals
state
Constructors
constructor
new
Establish
Channel
Flow
(
ctx
:
Interaction
)
:
EstablishChannelFlow
Parameters
ctx:
Interaction
Returns
EstablishChannelFlow
Properties
Protected
ctx
ctx
:
Interaction
type
type
:
FlowType
= FlowType.EstablishChannel
Methods
consume
Establish
Channel
Request
consume
Establish
Channel
Request
(
token
:
EstablishChannelRequest
)
:
Promise
<
boolean
>
Parameters
token:
EstablishChannelRequest
Returns
Promise
<
boolean
>
consume
Establish
Channel
Response
consume
Establish
Channel
Response
(
token
:
EstablishChannelResponse
)
:
Promise
<
boolean
>
Parameters
token:
EstablishChannelResponse
Returns
Promise
<
boolean
>
get
State
get
State
(
)
:
FlowState
Returns
FlowState
handle
Interaction
Token
handle
Interaction
Token
(
token
:
EstablishChannelRequest
|
EstablishChannelResponse
, interactionType
:
EstablishChannelType
)
:
Promise
<
boolean
>
Parameters
token:
EstablishChannelRequest
|
EstablishChannelResponse
interactionType:
EstablishChannelType
Returns
Promise
<
boolean
>
Object literals
state
state
:
object
description
description
:
string
= ""
established
established
:
false
= false
Globals
"src/interaction
Manager/establish
Channel
Flow"
Establish
Channel
Flow
constructor
ctx
type
consume
Establish
Channel
Request
consume
Establish
Channel
Response
get
State
handle
Interaction
Token
state
Generated using
TypeDoc