LinkChannelSession
AnchorLink session that pushes requests over a channel.
Summary
public override
AnchorLink
AnchorLink
public override string
Identifier
public override string
PublicKey
public override PermissionLevel
Auth
public override Dictionary< string, object >
Metadata
public
ILinkStorage
Storage
public
LinkChannelSession
(
AnchorLink
anchorLink,
LinkChannelSessionData
data, Dictionary< string, object > metadata)
public void
OnSuccess
(SigningRequest request,
TransactResult
result)
public void
OnFailure
(SigningRequest request, Exception exception)
public async void
OnRequest
(SigningRequest request, Action< object > cancel)
public async Task< SigningRequest >
Prepare
(SigningRequest request,
LinkSession
session)
public void
ShowLoading
()
public virtual override LinkSignatureProvider
MakeSignatureProvider
()
public virtual override async Task<
TransactResult
>
Transact
(
TransactArgs
args,
TransactOptions
options)
public virtual override
SerializedLinkSession
Serialize
()
public void
OnSessionRequest
(
LinkSession
session, SigningRequest request, Action< object > cancel)
private readonly Timer
_timeoutTimer
= new Timer()
private readonly
ChannelInfo
_channel
private readonly int
_timeout
= 2 * 60 * 1000
private readonly Func< SigningRequest, byte[]>
_encrypt
private readonly
LinkChannelSessionData
_data
Members
public override
AnchorLink
AnchorLink
public override string
Identifier
public override string
PublicKey
public override PermissionLevel
Auth
public override Dictionary< string, object >
Metadata
public
ILinkStorage
Storage
public
LinkChannelSession
(
AnchorLink
anchorLink,
LinkChannelSessionData
data, Dictionary< string, object > metadata)
public void
OnSuccess
(SigningRequest request,
TransactResult
result)
public void
OnFailure
(SigningRequest request, Exception exception)
public async void
OnRequest
(SigningRequest request, Action< object > cancel)
public async Task< SigningRequest >
Prepare
(SigningRequest request,
LinkSession
session)
public void
ShowLoading
()
public virtual override LinkSignatureProvider
MakeSignatureProvider
()
public virtual override async Task<
TransactResult
>
Transact
(
TransactArgs
args,
TransactOptions
options)
public virtual override
SerializedLinkSession
Serialize
()
public void
OnSessionRequest
(
LinkSession
session, SigningRequest request, Action< object > cancel)
private readonly Timer
_timeoutTimer
= new Timer()
private readonly
ChannelInfo
_channel
private readonly int
_timeout
= 2 * 60 * 1000
private readonly Func< SigningRequest, byte[]>
_encrypt
private readonly
LinkChannelSessionData
_data
Last updated