- getAddress(Server) - Static method in class picontrol.Utilities
-
getAddress: return the URL address of server with specified name
- getAddress(Client, int) - Static method in class picontrol.Utilities
-
getAddress: return the URL address of server with specified position into
the client list of servers
- getAutomatic() - Method in class picontrol.Client
-
getAutomatic: return the automatic object with all the rules
- getClientConfig(Client) - Static method in class picontrol.Processing
-
getClientConfig Read the configuration file and update the client.
- getCommand() - Method in class picontrol.Request
-
getCommand: return the command from the request
- getComment() - Method in class picontrol.AutomaticRule
-
- getComment() - Method in class picontrol.Device
-
getComment: return the comment of the device
- getConfigNumErrorsBeforeEmail() - Method in class picontrol.Client
-
getNumErrorsBeforeEmail: return the number of errors that the system must count before sending a warning email.
- getConfigOptimalTemp() - Method in class picontrol.Client
-
getConfigOptimalTemp: get the optimal temperature for the system.
- getConfigRetries() - Method in class picontrol.Client
-
getRetries: get the number of configRetries to try send the messages.
- getConfigTemperatureCounter() - Method in class picontrol.Client
-
getTemperatureCounter: get the number of temperatures to obtain the average of temperatures.
- getConfigTimeOnlineWait() - Method in class picontrol.Client
-
getTimeOnlineWait: get the time for wait between connections when a server is offline.
- getConfigTimeoutConnectValue() - Method in class picontrol.Client
-
getTimeoutConnectValue: get the time to wait connection before timeout error.
- getConfigTimeoutReadValue() - Method in class picontrol.Client
-
getTimeoutReadValue: get the time for wait a response before timeout error.
- getConfigTimeWait() - Method in class picontrol.Client
-
getTimeWait: get the time for wait between connections.
- getCountErrors() - Method in class picontrol.Client
-
getCountErrors: return the number of counting errors trying connecting with servers.
- getCountTemp() - Method in class picontrol.Client
-
getCountTemp: return the number of temperatures counted
- getCurrentState() - Method in class picontrol.Automatic
-
getCurrentState: return the current State.
- getDate() - Method in class picontrol.Status
-
getDate: return the date of the status
- getDevice() - Method in class picontrol.ManualOrder
-
getDevice: return the device of the order
- getDevice(int) - Method in class picontrol.Server
-
getDevice: returns the device in the position specified.
- getDevice(String) - Method in class picontrol.Server
-
getDevice: returns the device whose name matches with the parameter.
- getErrorCode() - Method in class picontrol.Response
-
getErrorCode: return the error code received in the response.
- getHost(String) - Static method in class picontrol.Utilities
-
getHost: Get the Host part from a String IP address.
- getHWBoard() - Static method in class picontrol.InputOutput
-
getHWBoard: Get the type of Raspberry board
- getHWBoard() - Static method in class picontrol.Utilities
-
getHWBoard: get the model of Raspberry Pi board
- getIdentifier() - Method in class picontrol.Server
-
getIdentifier: get the identifier (name) of the server.
- getIp() - Method in class picontrol.Processor
-
getIp: return the IP address of the processor (Logical Server)
- getIpAddress() - Method in class picontrol.Server
-
getIpAddress: get the IP address of the server.
- getLastCommand() - Method in class picontrol.Device
-
getLastCommand: return the last command executed on the device
- getLastCommand() - Method in class picontrol.Server
-
getLastCommand: return the last command received on the server
- getLastConnDate() - Method in class picontrol.Server
-
getLastConnDate: get the last connection Date.
- getLastDate() - Method in class picontrol.Device
-
getLastDate: return the last date on that a command was executed on this device
- getLastResponse() - Method in class picontrol.Server
-
getLastResponse: return the last command response sent by the server.
- getListDevices() - Method in class picontrol.Server
-
getListDevices: return the list of devices
- getlistPeripherals() - Method in class picontrol.Processor
-
getlistPeripherals: return the list of peripherals of this processor
- getListRules() - Method in class picontrol.AutomaticState
-
getListRules: return the list of rules on the state
- getListServers() - Method in class picontrol.Client
-
getListServers: return the list of servers in the network.
- getListState() - Method in class picontrol.Automatic
-
getListState: return the list of States.
- getLogicName() - Method in class picontrol.Peripheral
-
- getMessage() - Method in class picontrol.Response
-
getMessage: return the message from the response
- getMode() - Method in class picontrol.Device
-
getMode: return the mode of the device (IN, OUT, I2C,.)
- getMode() - Method in class picontrol.Peripheral
-
getMode: return the mode of the peripheral
- getName() - Method in class picontrol.AutomaticRule
-
getName: return the name of the rule.
- getName() - Method in class picontrol.AutomaticState
-
getName: returns the name of the rule
- getName() - Method in class picontrol.Device
-
getName: return the name of the device
- getName() - Method in class picontrol.Peripheral
-
getName: return the name of the peripheral
- getName() - Method in class picontrol.Processor
-
getName: return the name of the processor (Logical Server)
- getNameSensor() - Method in class picontrol.AutomaticRule
-
- getNetwork(String) - Static method in class picontrol.Utilities
-
getNetwork: Get the network from a String IP address.
- getNewState() - Method in class picontrol.AutomaticRule
-
- getNumDevices() - Method in class picontrol.Server
-
getNumDevices: return the number of devices on this server
- getNumProcessors() - Method in class picontrol.Status
-
getNumProcessors: return the number of processors in the status system
- getNumRules() - Method in class picontrol.AutomaticState
-
getNumRules: return the number of rules on the state
- getNumServers() - Method in class picontrol.Client
-
genNumServers: return the number of servers in the network.
- getNumServersOnline() - Method in class picontrol.Client
-
getNumServersOnline: return the number of servers that are online.
- getNumStates() - Method in class picontrol.Automatic
-
getNumStates: return the number of States.
- getOnline() - Method in class picontrol.Server
-
getOnline: get the status of the server.
- getOrder() - Method in class picontrol.ManualOrder
-
getOrder:
- getParameter2() - Method in class picontrol.Device
-
getParameter2:
If it's a GPIO, this method return the Physical Pin number
If it's a IC2 device, this method return the hex address of bus I2C
- getParameter3() - Method in class picontrol.Device
-
getParameter3:
If it's a GPIO, return the WiringPi and Pi4J logic pin number.
- getParameter4() - Method in class picontrol.Device
-
getParameter4:
If it's a GPIO, return the Logical Pin Name
If it's a I2C device, return the values of configuration register/s
- getParameter5() - Method in class picontrol.Device
-
getParameter5:
If it's a GPIO, return the Logic Level of signal: HIGH or LOW
If it's a I2C device, return the used channel, or UNK
- getParameter6() - Method in class picontrol.Device
-
getParameter6:
If it's a GPIO, return the default or desired value on start: ON or OFF
If it's a I2C device, return the name of the conversion, or UNK
- getParameters() - Method in class picontrol.Request
-
getParameters: return the parameters from the request
- getPeripheral(String) - Method in class picontrol.Processor
-
getPeripheral: return the peripheral with specified name.
- getPeripheral(int) - Method in class picontrol.Processor
-
getPeripheral: return the peripheral in specified position
- getPort() - Method in class picontrol.Server
-
getPort: get the port of the server.
- getProcessor(String) - Method in class picontrol.Status
-
getProcessor: return the processor whose name matches the specified
- getProcessor(int) - Method in class picontrol.Status
-
getProcessor: return the processor in the given position
- getProcessorList() - Method in class picontrol.Status
-
getProcessorList: return the array list with all the processors
- getRule(int) - Method in class picontrol.AutomaticState
-
getRule: return the rule on the specified position
- getRule(String) - Method in class picontrol.AutomaticState
-
getRule: return the rule with the specified name
- getRuleType() - Method in class picontrol.AutomaticRule
-
getRuleType: return the type of rule.
- getSendEmailOnError() - Method in class picontrol.Client
-
getSendEmailOnError: return if we want send a email on error case.
- getServer() - Method in class picontrol.AutomaticRule
-
getServer: get the server to apply the rule.
- getServer(int) - Method in class picontrol.Client
-
getServer: return the server in the specified position
- getServer(String) - Method in class picontrol.Client
-
getServer: return the server whit the specified name
- getServer() - Method in class picontrol.ManualOrder
-
getServer: return the server name
- getServerPos(String) - Method in class picontrol.Client
-
getServerPos: return the position in the array list of servers, of server whit the specified name.
- getState(int) - Method in class picontrol.Automatic
-
getState: returns the state that is in the indicated position.
- getState(String) - Method in class picontrol.Automatic
-
getState: Return the state whose name matches the past as parameter.
- getStatus() - Method in class picontrol.Client
-
getStatus: return the current status
- getSumTempExt() - Method in class picontrol.Client
-
getSumTempExt: get the sum of the exterior temperature
- getSumTempSolar() - Method in class picontrol.Client
-
getSumTempSolar: return the sum of solar temperatures.
- getTimestamp(Date) - Method in class picontrol.SQLUtils
-
getTimestamp: this method convert a Date() to SQL TimeStamp.
- getTimeStamp() - Static method in class picontrol.SQLUtils
-
getTimeStamp: This method return the current timeStamp in SQL format.
- getType() - Method in class picontrol.ManualOrder
-
getType: return the type of order
- getType() - Method in class picontrol.Processor
-
getType: return the type of processor
- getTypeSensor() - Method in class picontrol.AutomaticRule
-
- getValue() - Method in class picontrol.AutomaticRule
-
- getValue() - Method in class picontrol.Device
-
getValue: return the value of the device
- getValue() - Method in class picontrol.Peripheral
-
getValue: return the value of the peripheral