toggle menu
HaishinKit
androidJvm
switch theme
search in API
haishinkit
/
com.haishinkit.net
/
NetSocket
/
Listener
Listener
interface
Listener
The Listener interface is the primary method for handling events.
Members
Functions
on
Close
Link copied to clipboard
abstract
fun
onClose
(
disconnected
:
Boolean
)
on
Connect
Link copied to clipboard
abstract
fun
onConnect
(
)
on
Input
Link copied to clipboard
abstract
fun
onInput
(
buffer
:
ByteBuffer
)
on
Timeout
Link copied to clipboard
abstract
fun
onTimeout
(
)