Lineage
Toggle table of contents
0.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Lineage
proxy
/
ru.hytalemodding.lineage.proxy.messaging
/
MessagingImpl
Messaging
Impl
class
MessagingImpl
(
server
:
MessagingServer
)
:
Messaging
Messaging implementation backed by a UDP server.
Members
Constructors
Messaging
Impl
Link copied to clipboard
constructor
(
server
:
MessagingServer
)
Functions
channel
Link copied to clipboard
open
override
fun
channel
(
id
:
String
)
:
Channel
?
on
Packet
Link copied to clipboard
fun
onPacket
(
address
:
SocketAddress
,
channelId
:
String
,
payload
:
ByteArray
)
register
Channel
Link copied to clipboard
open
override
fun
registerChannel
(
id
:
String
,
handler
:
MessageHandler
)
:
Channel
start
Link copied to clipboard
fun
start
(
)
unregister
Channel
Link copied to clipboard
open
override
fun
unregisterChannel
(
id
:
String
)