A C D E G H I L M N O Q R 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.
getConfig() - Method in class org.networkupstools.jnut.Scanner
Retrieve scanner extra parameters like snmp community name or passwords.
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.
getDriver() - Method in class org.networkupstools.jnut.Scanner.DiscoveredDevice
Retrieve the name of driver used by device.
getExecName() - Method in class org.networkupstools.jnut.Scanner
Retrieve nut-scanner executable name (with location if any).
getExecPath() - Method in class org.networkupstools.jnut.Scanner
Retrieve nut-scanner executable path.
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.
getParam(String) - Method in class org.networkupstools.jnut.Scanner
Retrieve a scanner extra parameter.
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.
getProperties() - Method in class org.networkupstools.jnut.Scanner.DiscoveredDevice
Retrieve the map of device properties.
getProperty(String) - Method in class org.networkupstools.jnut.Scanner.DiscoveredDevice
Retrieve a device property if exists.
getRWVariableList() - Method in class org.networkupstools.jnut.Device
Return the list of device RW variables from the NUT server.
getScanType() - Method in class org.networkupstools.jnut.Scanner
Retrieve the scan type.
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.

H

hasParam(String) - Method in class org.networkupstools.jnut.Scanner
Test if a scanner has an extra parameter.
hasProperty(String) - Method in class org.networkupstools.jnut.Scanner.DiscoveredDevice
Test if the device has a property.

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

OPTION_END_IP - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_MASK_CIDR - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_NUT_UPSD_PORT - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SCANNER_EXEC - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SCANNER_PATH - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv1_COMMUNITY - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv3_AUTHENTICATION_PASSWORD - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv3_AUTHENTICATION_PROTOCOL - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv3_PRIVACY_PASSWORD - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv3_PRIVACY_PROTOCOL - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv3_SECURITY_LEVEL - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_SNMPv3_SECURITY_NAME - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_START_IP - Static variable in class org.networkupstools.jnut.Scanner
 
OPTION_TIMEOUT - Static variable in class org.networkupstools.jnut.Scanner
 
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.

R

removeParam(String) - Method in class org.networkupstools.jnut.Scanner
Remove a scanner extra parameter.

S

scan() - Method in class org.networkupstools.jnut.Scanner
Execute the scan.
SCAN_AVAHI - Static variable in class org.networkupstools.jnut.Scanner
 
SCAN_COMPLETE - Static variable in class org.networkupstools.jnut.Scanner
 
SCAN_IPMI - Static variable in class org.networkupstools.jnut.Scanner
 
SCAN_OLDNUT - Static variable in class org.networkupstools.jnut.Scanner
 
SCAN_SNMP - Static variable in class org.networkupstools.jnut.Scanner
 
SCAN_USB - Static variable in class org.networkupstools.jnut.Scanner
 
SCAN_XML - Static variable in class org.networkupstools.jnut.Scanner
 
Scanner - Class in org.networkupstools.jnut
jNut scanner.
Scanner() - Constructor for class org.networkupstools.jnut.Scanner
Default constructor (scan for all device types).
Scanner(int) - Constructor for class org.networkupstools.jnut.Scanner
Constructor with device types.
Scanner(int, Map) - Constructor for class org.networkupstools.jnut.Scanner
Constructor with device types and scan parameters.
Scanner.DiscoveredDevice - Class in org.networkupstools.jnut
Result of a scan.
setConfig(Map) - Method in class org.networkupstools.jnut.Scanner
Set the scanner extra parameters.
setExecName(String) - Method in class org.networkupstools.jnut.Scanner
Set nut-scanner executable name (with location if any).
setExecPath(String) - Method in class org.networkupstools.jnut.Scanner
Set nut-scanner executable path.
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.
setParam(String, String) - Method in class org.networkupstools.jnut.Scanner
Set a scanner extra parameter.
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.
setScanType(int) - Method in class org.networkupstools.jnut.Scanner
Set the scan type.
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 H I L M N O Q R S T U V

Copyright © 2011. All Rights Reserved.