Lineage
Toggle table of contents
0.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Lineage
backend-mod
/
ru.hytalemodding.lineage.backend.messaging
/
BackendMessaging
Backend
Messaging
object
BackendMessaging
Facade for backend messaging client.
Members
Functions
register
Channel
Link copied to clipboard
fun
registerChannel
(
id
:
String
,
handler
:
(
ByteArray
)
->
Unit
)
send
Link copied to clipboard
fun
send
(
channelId
:
String
,
payload
:
ByteArray
)
start
Link copied to clipboard
fun
start
(
address
:
InetSocketAddress
,
secret
:
ByteArray
)
stop
Link copied to clipboard
fun
stop
(
)
unregister
Channel
Link copied to clipboard
fun
unregisterChannel
(
id
:
String
)