EnvelopeEncryptedConnection

Author

lngtr

Since

2018-02-24

Constructors

Link copied to clipboard
constructor(inner: Connection, universe: EUniverse)

Properties

Link copied to clipboard
Occurs when the physical connection is established.
Link copied to clipboard
Occurs when the physical connection is broken.
Link copied to clipboard
Occurs when a net message is received over the network.

Functions

Link copied to clipboard
fun connect(endPoint: InetSocketAddress)
open fun connect(endPoint: InetSocketAddress, timeout: Int)
Connects to the specified end point.
Link copied to clipboard
open fun disconnect()
Disconnects this instance.
Link copied to clipboard
Link copied to clipboard
Gets the local IP.
Link copied to clipboard
Link copied to clipboard
open fun send(data: Array<Byte>)
Sends the specified data packet.