Server Interface
Introduction
The Server
interface provides methods to access server-related information and functionality.
Methods
uuid
UUID uuid();
Description:
Gets the unique identifier of the server.
Returns:
The server's UUID.
monitor
Monitor monitor();
Description:
Gets the server monitor, which provides access to various performance statistics.
Returns:
The Monitor instance.
cloudConnected
boolean cloudConnected();
Description:
Determines if the server is connected to the Polar cloud.
Returns:
true
if the server is connected to the cloud, false
otherwise.