A C D E G I L M N O Q S T U V

A

authenticate(String, String) - Method in class org.networkupstools.jnut.Client
Intend to authenticate with specified login and password, overriding already defined ones.
authenticate() - Method in class org.networkupstools.jnut.Client
Intend to authenticate with alread set login and password.

C

Client - Class in org.networkupstools.jnut
A jNut client is start point to dialog to UPSD.
Client() - Constructor for class org.networkupstools.jnut.Client
Default constructor.
Client(String, int, String, String) - Constructor for class org.networkupstools.jnut.Client
Connection constructor.
Command - Class in org.networkupstools.jnut
Class representing a command of a device.
Command(String, Device) - Constructor for class org.networkupstools.jnut.Command
Internally create a command.
connect(String, int, String, String) - Method in class org.networkupstools.jnut.Client
Intent to connect and authenticate to an UPSD with specified parameters.
connect(String, int) - Method in class org.networkupstools.jnut.Client
Intent to connect to an UPSD with specified parameters without authentication.
connect() - Method in class org.networkupstools.jnut.Client
Connection to UPSD with already specified parameters.

D

Device - Class in org.networkupstools.jnut
Class representing a device attached to a Client.
Device(String, Client) - Constructor for class org.networkupstools.jnut.Device
Internally create a device.
disconnect() - Method in class org.networkupstools.jnut.Client
Disconnect.
DriverNotConnected - Static variable in exception org.networkupstools.jnut.NutException
 

E

execute() - Method in class org.networkupstools.jnut.Command
Execute the instant command.
extra - Variable in exception org.networkupstools.jnut.NutException
 

G

get(String, String) - Method in class org.networkupstools.jnut.Client
Send a GET query line then read the reply and validate the response.
get(String, String[]) - Method in class org.networkupstools.jnut.Client
Send a GET query line then read the reply and validate the response.
getClient() - Method in class org.networkupstools.jnut.Device
Return the client to which the device is connected.
getCommand(String) - Method in class org.networkupstools.jnut.Device
Return a command from its name.
getCommandList() - Method in class org.networkupstools.jnut.Device
Return the list of device commands from the NUT server.
getDescription() - Method in class org.networkupstools.jnut.Command
Retrieve the command description from UPSD and store it in cache.
getDescription() - Method in class org.networkupstools.jnut.Device
Retrieve the device description from UPSD and store it in cache.
getDescription() - Method in class org.networkupstools.jnut.Variable
Retrieve the variable description from UPSD and store it in cache.
getDevice(String) - Method in class org.networkupstools.jnut.Client
Intend to retrieve a device by its name.
getDevice() - Method in class org.networkupstools.jnut.Command
Return the device to which the command can be executed.
getDevice() - Method in class org.networkupstools.jnut.Variable
Return the device to which the variable is related.
getDeviceList() - Method in class org.networkupstools.jnut.Client
Returns the list of available devices from the NUT server.
getExtra() - Method in exception org.networkupstools.jnut.NutException
Returns the extra message.
getHost() - Method in class org.networkupstools.jnut.Client
Get the host name or address to which client is (or will be) connected.
getLogin() - Method in class org.networkupstools.jnut.Client
Get the login with which the client is (or will be connected).
getName() - Method in class org.networkupstools.jnut.Command
Return the command name.
getName() - Method in class org.networkupstools.jnut.Device
Return the device name.
getName() - Method in class org.networkupstools.jnut.Variable
Return the variable name.
getNumLogin() - Method in class org.networkupstools.jnut.Device
Return the number of clients which have done LOGIN for this UPS.
getPasswd() - Method in class org.networkupstools.jnut.Client
Get the password with which the client is (or will be connected).
getPort() - Method in class org.networkupstools.jnut.Client
Get the port to which client is (or will be) connected.
getRWVariableList() - Method in class org.networkupstools.jnut.Device
Return the list of device RW variables from the NUT server.
getValue() - Method in class org.networkupstools.jnut.Variable
Retrieve the variable value from UPSD and store it in cache.
getVariable(String) - Method in class org.networkupstools.jnut.Device
Return a variable from its name.
getVariableList() - Method in class org.networkupstools.jnut.Device
Return the list of device variables from the NUT server.

I

is(String) - Method in exception org.networkupstools.jnut.NutException
Test is the exception corresponds to the specified name.
isConnected() - Method in class org.networkupstools.jnut.Client
Test if the client is connected to the UPSD.

L

list(String) - Method in class org.networkupstools.jnut.Client
Send a LIST query line then read replies and validate them.
list(String, String) - Method in class org.networkupstools.jnut.Client
Send a LIST query line then read replies and validate them.
list(String, String[]) - Method in class org.networkupstools.jnut.Client
Send a LIST query line then read replies and validate them.
login() - Method in class org.networkupstools.jnut.Device
Log in to the ups.
logout() - Method in class org.networkupstools.jnut.Client
Log out.

M

master() - Method in class org.networkupstools.jnut.Device
This function doesn't do much by itself.

N

NutException - Exception in org.networkupstools.jnut
Class representing a NUT exception.
NutException() - Constructor for exception org.networkupstools.jnut.NutException
 
NutException(String) - Constructor for exception org.networkupstools.jnut.NutException
 
NutException(String, String) - Constructor for exception org.networkupstools.jnut.NutException
 
NutException(Throwable) - Constructor for exception org.networkupstools.jnut.NutException
 
NutException(String, Throwable) - Constructor for exception org.networkupstools.jnut.NutException
 
NutException(String, String, Throwable) - Constructor for exception org.networkupstools.jnut.NutException
 

O

org.networkupstools.jnut - package org.networkupstools.jnut
 

Q

query(String, String) - Method in class org.networkupstools.jnut.Client
Send a query line then read the response.
query(String, String, String[]) - Method in class org.networkupstools.jnut.Client
Send a query line then read the response.
query(String, String[]) - Method in class org.networkupstools.jnut.Client
Send a query line then read the response.
query(String) - Method in class org.networkupstools.jnut.Client
Send a query line then read the response.

S

setExtra(String) - Method in exception org.networkupstools.jnut.NutException
Set the extra message.
setForcedShutdown() - Method in class org.networkupstools.jnut.Device
Set the "forced shutdown" flag.
setHost(String) - Method in class org.networkupstools.jnut.Client
Set the host name (or address) to which the client will intend to connect to at next connection.
setLogin(String) - Method in class org.networkupstools.jnut.Client
Set the login with which the client will intend to connect.
setPasswd(String) - Method in class org.networkupstools.jnut.Client
Set the password with which the client will intend to connect.
setPort(int) - Method in class org.networkupstools.jnut.Client
Set the port to which client is (or will be) connected.
setValue(String) - Method in class org.networkupstools.jnut.Variable
Set the variable value.

T

toString() - Method in exception org.networkupstools.jnut.NutException
Format an exception message.

U

UnknownResponse - Static variable in exception org.networkupstools.jnut.NutException
 

V

Variable - Class in org.networkupstools.jnut
Class representing a variable of a device.
Variable(String, Device) - Constructor for class org.networkupstools.jnut.Variable
Internally create a variable.

A C D E G I L M N O Q S T U V

Copyright © 2011. All Rights Reserved.