void
Intend to authenticate with an already set login and password.
void
Intend to authenticate with a specified login and password, overriding
already defined ones (remembers them as class instance fields).
void
This function does little by itself.
void
This function does little by itself.
void
void
Intent to connect to an UPSD with specified parameters
(remembers them as class instance fields) without authentication.
void
Intent to connect and authenticate to an UPSD with specified parameters
(remembers them as class instance fields).
boolean
Enable TRACKING mode on this connection if it is not already enabled.
Execute the instant command without any optional argument.
Execute the instant command with an optional parameter.
Command.execute(String param,
int waitIntervalSec,
int waitMaxCount)
Execute the instant command with an optional parameter,
and optionally waiting for completion.
Send a GET query line, then read the reply and validate the response.
Send a GET query line, then read the reply and validate the response.
Return the list of clients which have done LOGIN for this UPS.
Return a command from its name.
Return the list of device commands from the NUT server.
Retrieve the command description from UPSD and store it in a cache.
Retrieve the device description from UPSD and store it in a cache.
Retrieve the variable description from UPSD and store it in a cache.
Intend to retrieve a device by its name.
Returns the list of available devices from the NUT server.
Retrieve the list of possible values for an ENUM variable.
int
Return the number of clients which have done LOGIN for this UPS.
Retrieve the list of possible ranges for a RANGE variable.
Return the list of device RW variables from the NUT server.
Retrieve the variable type from UPSD.
Retrieve the variable value from UPSD and store it in a cache.
Return a variable from its name.
Return the list of device variables from the NUT server.
Send a LIST query line, then read replies and validate them.
Send a LIST query line, then read replies and validate them.
Send a LIST query line, then read replies and validate them.
void
Log in to the UPS to assume a special role which matters
to orchestration of the server lifecycle and its other clients.
void
Send a query line, then read the response.
Send a query line, then read the response.
Send a query line, then read the response.
Send a query line, then read the response.
void
Set the "forced shutdown" flag.
void
Variable.setValue(String value,
int waitIntervalSec,
int waitMaxCount)
Set the variable value, optionally waiting for completion.
boolean
Wait for a tracking ID to complete.
Device.becomePrimary()instead