- sendResponse(int, String, String, DataOutputStream) - Static method in class piserver.Communication
-
sendResponse: send a response, in reply to a request.
- SENSOR_TEMP_AUX - Static variable in class piserver.Constants
-
- SENSOR_TEMP_EXT - Static variable in class piserver.Constants
-
- SENSOR_TEMP_SOLAR - Static variable in class piserver.Constants
-
- Server - Class in piserver
-
Server: Class who represent the logic part of a Raspberry Pi working as server
- Server() - Constructor for class piserver.Server
-
- SERVER_CONFIG_FILENAME - Static variable in class piserver.Constants
-
- ServerStatus - Class in piserver
-
ServerStatus: this class extends the Server with the parameters necessary to operate in
autonomous mode.
- ServerStatus() - Constructor for class piserver.ServerStatus
-
- setBlinkMode(I2CDevice, I2CDisplay.HT16K33) - Static method in class piserver.I2CDisplay
-
Set the blink mode on the LED displayLED and turn the displayLED on.
- setBoard(String) - Method in class piserver.Raspberry
-
setBoard: Set the model board.
- setBrigtness(I2CDevice, I2CDisplay.HT16K33) - Static method in class piserver.I2CDisplay
-
Set the brightness level of the LED displayLED.
- setCommand(String) - Method in class piserver.Request
-
setCommand: set the command to the request
- setComment(String) - Method in class piserver.Device
-
setComment: set the comment of the device
- setConfigTimerAutonomousRunEvery(int) - Method in class piserver.Server
-
setConfigTimerAutonomousRunEvery: set the value who indicates how long run the Autonomous mode timer.
- setConfigTimerAutonomousWaitStart(int) - Method in class piserver.Server
-
setConfigTimerAutonomousWaitStart: set the time to wait before the Autonomous mode start.
- setConfigTimerAutonomousWaitTime(int) - Method in class piserver.Server
-
setConfigTimerAutonomousWaitTime: Set the difference of time without connection, before start autonomous mode.
- setConfigTimerLEDRunEvery(int) - Method in class piserver.Server
-
setConfigTimerLEDRunEvery: set the value who indicates how long run the LED Display timer.
- setConfigTimerLEDWaitStart(int) - Method in class piserver.Server
-
setConfigTimerLEDWaitStart: set the time to wait before the LED Display start.
- setCurrentStatus(Status) - Method in class piserver.ServerStatus
-
setCurrentStatus: set the current status.
- setDate(Date) - Method in class piserver.Status
-
setDate: set the date of the status.
- setDefault(Raspberry, Device) - Static method in class piserver.InputOutput
-
setDefault: this method set the GPIO port to the default value.
- setDeviceName(String) - Method in class piserver.AutonomousRule
-
setDeviceName: returns the device name who apply this rule.
- setErrorCode(Constants.CONNECTION_ERROR) - Method in class piserver.Response
-
setErrorCode: set the initial error code
- setI2cBus(I2CBus) - Method in class piserver.Raspberry
-
stI2CBus: store the I2C Bus.
- setI2cMap(HashMap<String, I2CDevice>) - Method in class piserver.Raspberry
-
setI2CMap: store the Hash Map with all I2C devices defined in this Raspberry.
- setIdentifier(String) - Method in class piserver.Server
-
setIdentifier: set the identifier (name) of the server.
- setIp(String) - Method in class piserver.Processor
-
stIp: set the IP address of the processor (Logical Server).
- setIpAddress(String) - Method in class piserver.Server
-
setIpAddress: set the IP address of the server.
- setLastCommand(String) - Method in class piserver.Device
-
setLastCommand: set the last command executed on device
- setLastCommand(String) - Method in class piserver.Server
-
setLastCommand: set the last command received on the server
- setLastConnDate(Date) - Method in class piserver.Server
-
setLastConnDate: set the last connection Date.
- setLastConnDate() - Method in class piserver.Server
-
setLastConnDate: set the last connection Date.
- setLastDate() - Method in class piserver.Device
-
setLastDate: set the current date, date on that a command was executed on this device
- setLastDate(Date) - Method in class piserver.Device
-
setLastDate: set the date on that a command was executed on this device.
- setLastResponse(String) - Method in class piserver.Server
-
setLastResponse: set the last command response sent by the server.
- setLastStatus(Status) - Method in class piserver.ServerStatus
-
setLastStatus: set the last global status.
- setListPeripherals(ArrayList<Peripheral>) - Method in class piserver.Processor
-
setListPeripherals: set the list of peripherals of this processor.
- setListRules(ArrayList<AutonomousRule>) - Method in class piserver.ServerStatus
-
SetListRules: set the list of rules.
- setLogicName(String) - Method in class piserver.Peripheral
-
setLogicName: set the logic name of the peripheral
- setMessage(String) - Method in class piserver.Response
-
setMessage: set the message into the response
- setMode(String) - Method in class piserver.Device
-
setMode: set the mode of the device (IN, OUT, I2C,.)
- setMode(String) - Method in class piserver.Peripheral
-
setMode: set the mode of the peripheral
- setName(String) - Method in class piserver.Device
-
setName: set the name of the device
- setName(String) - Method in class piserver.Peripheral
-
setName: set the peripheral name
- setName(String) - Method in class piserver.Processor
-
setName: set the name of the processor (Logical Server).
- setNumProcessors(int) - Method in class piserver.Status
-
setNumProcessors: set the number of processors in the status system.
- setOnline(boolean) - Method in class piserver.Processor
-
setline: mark a processor (Logical Server) online.
- setOnline(boolean) - Method in class piserver.Server
-
setOnline: set the status of the server.
- setOptimalTemp(double) - Method in class piserver.ServerStatus
-
setOptimalTemp: Set the optimal temperature of thermosyphon water.
- setParameter2(String) - Method in class piserver.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 piserver.Device
-
setParameter3:
If it's a GPIO, set the WiringPi and Pi4J logic pin number.
- setParameter4(String) - Method in class piserver.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 piserver.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 piserver.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 piserver.Request
-
setParameters: set the parameters to the request
- setPinDigitalMap(HashMap<String, GpioPinDigitalMultipurpose>) - Method in class piserver.Raspberry
-
setPinDigitalMap: Store the HashMap with all the GPIO defined in this Raspberry
- setPort(Integer) - Method in class piserver.Server
-
setPort: set the port of the server.
- setProcessorList(ArrayList<Processor>) - Method in class piserver.Status
-
setProcessorList: set the array list with all the processors.
- setRule(String) - Method in class piserver.AutonomousRule
-
setRule: set the rule.
- setType(String) - Method in class piserver.Processor
-
setType: set the type of processor.
- setValue(String) - Method in class piserver.AutonomousRule
-
setValue: set the value who apply this rule to this device.
- setValue(String) - Method in class piserver.Device
-
setValue: set the value of the device
- setValue(String) - Method in class piserver.Peripheral
-
setValue: set the value of the peripheral
- shutdown(String) - Static method in class piserver.Processing
-
shutdown: this method exec a shutdown or a restart command.
- Status - Class in piserver
-
Status: class who represent the status global of the system.
- Status() - Constructor for class piserver.Status
-
Status(): Constructor without parameters.
- Status(Date, int) - Constructor for class piserver.Status
-
Status(): Constructor with parameters.