Skip navigation links
A C D E G I M P R S T U V W 

S

sendGET(Client, String) - Static method in class picontrol.Communication
sendGET: This method send a GET request to the url specified.
sendGET(Client, Server, String) - Static method in class picontrol.Communication
sendGET: This method send a GET request with the order to the server specified.
SendMail - Class in picontrol
SendMail: this class implements the methods to send a email.
SendMail() - Constructor for class picontrol.SendMail
 
sendMail(String) - Static method in class picontrol.SendMail
senEmail: this method send the specified string to a pre-configured email address, read from configuration file.
sendPOST(Client, String, String, String) - Static method in class picontrol.Communication
sendPOST: This method send a POST request with the command + parameters to the server specified.
sendPOST(Client, String, Request) - Static method in class picontrol.Communication
sendPOST: This method send through POST, a Request object to server specified by URL
SENSOR_TEMP_AUX - Static variable in class picontrol.Constants
SENSOR_TEMP_AUX: Name of sensor of auxiliary thermo-accumulator.
SENSOR_TEMP_EXT - Static variable in class picontrol.Constants
SENSOR_TEMP_EXT: Name of sensor of exterior temperature.
SENSOR_TEMP_SOLAR - Static variable in class picontrol.Constants
SENSOR_TEMP_SOLAR: Name of sensor of temperature into termoshiphon.
Server - Class in picontrol
Server: Class who represent the logic part of a Raspberry Pi working as server
Server() - Constructor for class picontrol.Server
 
SERVER_NAME - Static variable in class picontrol.Constants
SERVER_NAME: Name of the servers
setAutomatic(Automatic) - Method in class picontrol.Client
setAutomatic: set the automatic object with all the rules
setCommand(String) - Method in class picontrol.Request
setCommand: set the command to the request
setComment(String) - Method in class picontrol.AutomaticRule
 
setComment(String) - Method in class picontrol.Device
setComment: set the comment of the device
setConfigNumErrorsBeforeEmail(int) - Method in class picontrol.Client
setNumErrorsBeforeEmail: set the number of errors that the system must count before sending a warning email.
setConfigOptimalTemp(double) - Method in class picontrol.Client
setConfigOptimalTemp: set the optimal temperature for the system.
setConfigRetries(int) - Method in class picontrol.Client
 
setConfigSendEmailOnError(boolean) - Method in class picontrol.Client
setSendEmailOnError: set if we want send a email on error case.
setConfigTemperatureCounter(int) - Method in class picontrol.Client
setTemperatureCounter: set the number of temperatures to obtain the average of temperatures.
setConfigTimeOnlineWait(int) - Method in class picontrol.Client
setTimeOnlineWait: set the time for wait between connections when a server is offline.
setConfigTimeoutConnectValue(int) - Method in class picontrol.Client
setTimeoutConnectValue: get the time to wait connection before timeout error.
setConfigTimeoutReadValue(int) - Method in class picontrol.Client
setTimeoutReadValue: set the time for wait a response before timeout error.
setConfigTimeWait(int) - Method in class picontrol.Client
setTimeWait: set the time for wait between connections.
setCountErrors(int) - Method in class picontrol.Client
setCountErrors: set the number of errors.
setCountTemp(int) - Method in class picontrol.Client
setCountTemp: set the counter to a value
setCurrentState(AutomaticState) - Method in class picontrol.Automatic
setCurrentState: set the current State of the system.
setDate(Date) - Method in class picontrol.Status
setDate: set the date of the status
setDevice(String) - Method in class picontrol.ManualOrder
setDevice: set the device of the order
setErrorCode(Constants.CONNECTION_ERROR) - Method in class picontrol.Response
setErrorCode: set the initial error code.
setIdentifier(String) - Method in class picontrol.Server
setIdentifier: set the identifier (name) of the server.
setIp(String) - Method in class picontrol.Processor
stIp: set the IP address of the processor (Logical Server)
setIpAddress(String) - Method in class picontrol.Server
setIpAddress: set the IP address of the server.
setLastCommand(String) - Method in class picontrol.Device
setLastCommand: set the last command executed on device
setLastCommand(String) - Method in class picontrol.Server
setLastCommand: set the last command received on the server
setLastConnDate(Date) - Method in class picontrol.Server
setLastConnDate: set the last connection Date.
setLastConnDate() - Method in class picontrol.Server
setLastConnDate: set the last connection Date.
setLastDate() - Method in class picontrol.Device
setLastDate: set the current date, date on that a command was executed on this device
setLastDate(Date) - Method in class picontrol.Device
setLastDate: set the date on that a command was executed on this device
setLastResponse(String) - Method in class picontrol.Server
setLastResponse: set the last command response sent by the server.
setListPeripherals(ArrayList<Peripheral>) - Method in class picontrol.Processor
setListPeripherals: set the list of peripherals of this processor
setListRules(ArrayList<AutomaticRule>) - Method in class picontrol.AutomaticState
setListRules: set the list of rules
setListServers(ArrayList<Server>) - Method in class picontrol.Client
setListServers: set the array list with the servers in the network.
setListState(ArrayList<AutomaticState>) - Method in class picontrol.Automatic
setListState: set the list of States.
setLogicName(String) - Method in class picontrol.Peripheral
setLogicName: set the logic name of the peripheral
setMessage(String) - Method in class picontrol.Response
setMessage: set the message into the response
setMode(String) - Method in class picontrol.Device
setMode: set the mode of the device (IN, OUT, I2C,.)
setMode(String) - Method in class picontrol.Peripheral
setMode: set the mode of the peripheral
setName(String) - Method in class picontrol.AutomaticRule
setName: set the name of the rule.
setName(String) - Method in class picontrol.AutomaticState
setName: set the name of the rule
setName(String) - Method in class picontrol.Device
setName: set the name of the device
setName(String) - Method in class picontrol.Peripheral
setName: set the peripheral name
setName(String) - Method in class picontrol.Processor
setName: set the name of the processor (Logical Server)
setNameSensor(String) - Method in class picontrol.AutomaticRule
 
setNewState(String) - Method in class picontrol.AutomaticRule
 
setNumProcessors(int) - Method in class picontrol.Status
setNumProcessors: set the number of processors in the status system
setNumRules(int) - Method in class picontrol.AutomaticState
setNumRules: set the number of rules on the state
setNumServers(int) - Method in class picontrol.Client
setNumServers: Set the number of servers in the network.
setNumStates(int) - Method in class picontrol.Automatic
setNumStates: set the number of States.
setOnline(boolean) - Method in class picontrol.Processor
setline: mark a processor (Logical Server) online
setOnline(boolean) - Method in class picontrol.Server
setOnline: set the status of the server.
setOrder(String) - Method in class picontrol.ManualOrder
 
setParameter2(String) - Method in class picontrol.Device
setParameter2: If it's a GPIO, this method set the Physical Pin number If it's a IC2 device, this method set the hex address of bus I2C
setParameter3(String) - Method in class picontrol.Device
setParameter3: If it's a GPIO, set the WiringPi and Pi4J logic pin number.
setParameter4(String) - Method in class picontrol.Device
setParameter4: If it's a GPIO, this parameter store the Logical Pin Name If it's a I2C device, store the values of configuration register/s
setParameter5(String) - Method in class picontrol.Device
setParameter5: If it's a GPIO, this parameter store the Logic Level of signal: HIGH or LOW If it's a I2C device, store the used channel, or UNK
setParameter6(String) - Method in class picontrol.Device
setParameter6: If it's a GPIO, this parameter store default or desired value on start: ON or OFF If it's a I2C device, store the name of the conversion, or UNK
setParameters(String) - Method in class picontrol.Request
setParameters: set the parameters to the request
setPort(Integer) - Method in class picontrol.Server
setPort: set the port of the server.
setProcessorList(ArrayList<Processor>) - Method in class picontrol.Status
setProcessorList: set the array list with all the processors
setRuleType(String) - Method in class picontrol.AutomaticRule
setRuleType:
setServer(String) - Method in class picontrol.AutomaticRule
setServer: Set the server to apply the rule.
setServer(String) - Method in class picontrol.ManualOrder
setServer: set the server name
setStatus(Status) - Method in class picontrol.Client
setStatus: set the status
setSumTempExt(double) - Method in class picontrol.Client
setSumTempExt: set the sum of the exterior temperature to a specified value
setSumTempSolar(double) - Method in class picontrol.Client
setSumTempSolar: set the sum of solar temperatures to a value.
setType(String) - Method in class picontrol.ManualOrder
setType: set the type of order
setType(String) - Method in class picontrol.Processor
setType: set the type of processor
setTypeSensor(String) - Method in class picontrol.AutomaticRule
 
setValue(String) - Method in class picontrol.AutomaticRule
 
setValue(String) - Method in class picontrol.Device
setValue: set the value of the device
setValue(String) - Method in class picontrol.Peripheral
setValue: set the value of the peripheral
shutdown(String) - Static method in class picontrol.Processing
shutdown: This method decide who command to execute: sudo shutdown or sudo reboot, calling to execCommandLinunx whit the correct command.
SQL_MANUAL_ORDERS_COUNT - Static variable in class picontrol.Constants
SQL_MANUAL_ORDERS_COUNT: get the number of unprocessed manual orders.
SQL_MANUAL_ORDERS_GET - Static variable in class picontrol.Constants
SQL_MANUAL_ORDERS_GET: SQL query to get the unprocessed manual orders.
SQL_MANUAL_ORDERS_SEARCH - Static variable in class picontrol.Constants
SQL_MANUAL_ORDERS_SEARCH: Query to find a specified manual order.
SQL_MANUAL_ORDERS_UPDATE - Static variable in class picontrol.Constants
SQL_MANUAL_ORDERS_UPDATE: Query to update the status of manual order.
SQL_STATUS_CLEAN - Static variable in class picontrol.Constants
SQL_STATUS_CLEAN: Query to clean (truncate) the status database.
SQL_STATUS_EXISTS - Static variable in class picontrol.Constants
SQL_STATUS_EXISTS: SQL query to check if exist some status stored in the database.
SQL_STATUS_INSERT - Static variable in class picontrol.Constants
SQL_STATUS_INSERT: Query to insert the current status in the database.
SQL_STATUS_SEARCH_ID - Static variable in class picontrol.Constants
SQL_STATUS_SEARCH: Query to search a specific value from the status.
SQL_STATUS_UPDATE - Static variable in class picontrol.Constants
SQL_STATUS_UPDATE: Query to update the status to a new value.
SQL_STATUS_VERIFY_NAME - Static variable in class picontrol.Constants
SQL_GET_STATUS_NUMBER: Query to get the number of rows of a status.
SQL_TEMPERATURE_INSERT - Static variable in class picontrol.Constants
SQL_TEMPERATURE_INSERT: Query to insert the temperatures in the database.
SQLUtils - Class in picontrol
SQLUtils: Class who implements the SQL methods establishes the connection with the database.
SQLUtils() - Constructor for class picontrol.SQLUtils
 
Status - Class in picontrol
Status: class who represent the status global of the system.
Status() - Constructor for class picontrol.Status
Status(): Constructor without parameters.
Status(Date, int) - Constructor for class picontrol.Status
Status(): Constructor with parameters.
A C D E G I M P R S T U V W 
Skip navigation links