|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NutException in org.networkupstools.jnut |
---|
Methods in org.networkupstools.jnut that throw NutException | |
---|---|
void |
Client.authenticate()
Intend to authenticate with alread set login and password. |
void |
Client.authenticate(java.lang.String login,
java.lang.String passwd)
Intend to authenticate with specified login and password, overriding already defined ones. |
void |
Client.connect()
Connection to UPSD with already specified parameters. |
void |
Client.connect(java.lang.String host,
int port)
Intent to connect to an UPSD with specified parameters without authentication. |
void |
Client.connect(java.lang.String host,
int port,
java.lang.String login,
java.lang.String passwd)
Intent to connect and authenticate to an UPSD with specified parameters. |
void |
Command.execute()
Execute the instant command. |
protected java.lang.String |
Client.get(java.lang.String subcmd,
java.lang.String param)
Send a GET query line then read the reply and validate the response. |
protected java.lang.String |
Client.get(java.lang.String subcmd,
java.lang.String[] params)
Send a GET query line then read the reply and validate the response. |
Command |
Device.getCommand(java.lang.String name)
Return a command from its name. |
Command[] |
Device.getCommandList()
Return the list of device commands from the NUT server. |
java.lang.String |
Command.getDescription()
Retrieve the command description from UPSD and store it in cache. |
java.lang.String |
Device.getDescription()
Retrieve the device description from UPSD and store it in cache. |
java.lang.String |
Variable.getDescription()
Retrieve the variable description from UPSD and store it in cache. |
Device |
Client.getDevice(java.lang.String name)
Intend to retrieve a device by its name. |
Device[] |
Client.getDeviceList()
Returns the list of available devices from the NUT server. |
int |
Device.getNumLogin()
Return the number of clients which have done LOGIN for this UPS. |
Variable[] |
Device.getRWVariableList()
Return the list of device RW variables from the NUT server. |
java.lang.String |
Variable.getValue()
Retrieve the variable value from UPSD and store it in cache. |
Variable |
Device.getVariable(java.lang.String name)
Return a variable from its name. |
Variable[] |
Device.getVariableList()
Return the list of device variables from the NUT server. |
protected java.lang.String[] |
Client.list(java.lang.String subcmd)
Send a LIST query line then read replies and validate them. |
protected java.lang.String[] |
Client.list(java.lang.String subcmd,
java.lang.String param)
Send a LIST query line then read replies and validate them. |
protected java.lang.String[] |
Client.list(java.lang.String subcmd,
java.lang.String[] params)
Send a LIST query line then read replies and validate them. |
void |
Device.login()
Log in to the ups. |
void |
Device.master()
This function doesn't do much by itself. |
protected java.lang.String |
Client.query(java.lang.String query)
Send a query line then read the response. |
protected java.lang.String |
Client.query(java.lang.String query,
java.lang.String subquery)
Send a query line then read the response. |
protected java.lang.String |
Client.query(java.lang.String query,
java.lang.String[] params)
Send a query line then read the response. |
protected java.lang.String |
Client.query(java.lang.String query,
java.lang.String subquery,
java.lang.String[] params)
Send a query line then read the response. |
void |
Device.setForcedShutdown()
Set the "forced shutdown" flag. |
void |
Variable.setValue(java.lang.String value)
Set the variable value. |
Constructors in org.networkupstools.jnut that throw NutException | |
---|---|
Client(java.lang.String host,
int port,
java.lang.String login,
java.lang.String passwd)
Connection constructor. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |