toggle menu
libnexakotlin
0.3.5
common
switch theme
search in API
libnexakotlin
/
org.nexa.libnexakotlin
/
CapdProtocolCommunication
Capd
Protocol
Communication
class
CapdProtocolCommunication
(
val
chain
:
Blockchain
,
convoSecret
:
ByteArray
,
var
coCtxt
:
CoroutineContext
)
:
ProtocolCommunication
Members
Constructors
Capd
Protocol
Communication
Link copied to clipboard
constructor
(
chain
:
Blockchain
,
convoSecret
:
ByteArray
,
coCtxt
:
CoroutineContext
)
Properties
capd
Monitor
Id
Link copied to clipboard
var
capdMonitorId
:
Long
?
capd
Relay
Priority
Link copied to clipboard
var
capdRelayPriority
:
Double
chain
Link copied to clipboard
val
chain
:
Blockchain
co
Ctxt
Link copied to clipboard
var
coCtxt
:
CoroutineContext
convo
Id
Link copied to clipboard
val
convoId
:
ByteArray
p2p
Link copied to clipboard
var
p2p
:
P2pClient
?
rcv
Channel
Link copied to clipboard
val
rcvChannel
:
Channel
<
CapdMsg
>
Functions
receive
Link copied to clipboard
open
suspend override
fun
receive
(
)
:
Pair
<
ByteArray
,
ULong
>
send
Link copied to clipboard
open
suspend override
fun
send
(
ba
:
ByteArray
)
start
Link copied to clipboard
open
suspend override
fun
start
(
)
stop
Link copied to clipboard
open
override
fun
stop
(
)