McProxyChannelHandler

fun interface McProxyChannelHandler

Represents a Minecraft proxy channel handler.

Channel handlers can be registered using the McProxyChannelHandler.

Functions

Link copied to clipboard
abstract fun receive(source: McProxyConnection, destination: McProxyConnection, data: ByteArray): Boolean

Invoked when a message is received on the associated channel.