NetEvent.Type

Enum defining all possible NetEvent types

Values

ValueMeaning
MessageEvent

When a message has been completely transfered (received)

PartMessageEvent

When a part of a message is received. This can be used to estimate the time-left...

ConnectionAccepted

When the listener accepts an incoming connection. The connection ID of this connection can be retrieved by NetEvent.conID

ConnectionClosed

When a connection is closed

KeysReceived

when a connection sends its public key for encrypting messages

Timeout

Nothing happened, Node.getEvent exited because of timeout

Meta