ZapClient

class ZapClient(serverAddress: InetAddress)

A client that sends data to server.

Constructors

Link copied to clipboard
constructor(serverAddress: InetAddress)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun send(obj: Zapable)

Send given Zapable object to the server.

Link copied to clipboard
fun stop()

Close the socket.