requestID top-level property

int requestID
getter/setter pair

The randomly generated request ID that is sent with every message to the RCON server. Used to ensure that the commands sent to and received from the server are ours, and not another user's.

Implementation

int requestID = Random().nextInt(2147483647);