Index
All Classes|All Packages
A
- accept(OOCSIStateMachine.State, OOCSIStateMachine.State) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.Transition
-
check if the given source and destination state match this transition
- accept(OOCSIEvent) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator.SystemFilter
- activity(String) - Method in class nl.tue.id.datafoundry.DFDataset
-
set the activity for logging to an IoT dataset
- adapt(Double) - Method in class nl.tue.id.oocsi.OOCSIDouble
- adapt(Float) - Method in class nl.tue.id.oocsi.OOCSIFloat
- adapt(Integer) - Method in class nl.tue.id.oocsi.OOCSIInt
- adapt(Long) - Method in class nl.tue.id.oocsi.OOCSILong
- adapt(T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
adaptation of the variable based on the recent history (values) and the newly entered variable setting
- add() - Method in class nl.tue.id.datafoundry.DFDataset
-
add an entry to an entity dataset
- add() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- add(char) - Method in class nl.tue.id.oocsi.client.data.JSONReader
- add(char) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- add(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- add(String, Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- add(Handler) - Method in class nl.tue.id.oocsi.client.protocol.MultiHandler
- add(OOCSIMessage) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- addBinarySensor(String, String, String, boolean, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a binary sensor component to this device
- addBinarySensor(String, String, OOCSIDevice.BinarySensorType, boolean, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a binary sensor component to this device
- addDigits() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- addFilter(String, OOCSISystemCommunicator.SystemFilter<?>) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- addLight(String, String, String, String, int, int, boolean, int, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a sensor component to this device
- addLight(String, String, OOCSIDevice.LedType, OOCSIDevice.LightSpectrum, int, int, boolean, int, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a sensor component to this device
- addLocation(String, float, float) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a device location
- addNumber(String, String, float, float, float, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a number component to this device
- addNumber(String, String, float, float, String, float, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a number component to this device
- addProperty(String, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a device property
- addRandomStep(long, long, float, float) - Method in class nl.tue.id.oocsi.Animator
-
add an animation step with random delay in milliseconds between
delayMin
anddelayMax
. - addRandomStep(long, long, float, float, String) - Method in class nl.tue.id.oocsi.Animator
-
add an animation step with random delay in milliseconds between
delayMin
anddelayMax
. - addSensor(String, String, String, String, float, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a sensor component to this device
- addSensor(String, String, OOCSIDevice.SensorType, String, float, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a sensor component to this device
- addState(String) - Method in class nl.tue.id.oocsi.StateMachine
- addState(String, String, String, String) - Method in class nl.tue.id.oocsi.StateMachine
- addState(String, Handler, Handler, Handler) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
add a new state to the state machine by specifying its name, and optional handlers for this new state's enter and exit events, and the execute handler that will be used while state is on
- addStep(long, K) - Method in class nl.tue.id.oocsi.Animator
-
add an animation step with delay in milliseconds and a value that will be sent after the delay has passed
- addStep(long, K, String) - Method in class nl.tue.id.oocsi.Animator
-
add a named animation step with delay in milliseconds and a value that will be sent after the delay has passed.
- addSwitch(String, String, String, boolean, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a switch component to this device
- addSwitch(String, String, OOCSIDevice.SwitchType, boolean, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
add a switch component to this device
- addTransition(OOCSIStateMachine.State, OOCSIStateMachine.State) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
add a new transition between the source and the destination state
- all() - Method in class nl.tue.id.datafoundry.DFDataset
-
get all entries from an entity dataset
- Animator - Class in nl.tue.id.oocsi
- Animator(OOCSI, String, String) - Constructor for class nl.tue.id.oocsi.Animator
-
create an animator with an OOCSI reference, a channel name where the animation messages should be sent and a message attribute as a key for the values that are sent
- aqi - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
Air Quality Index
- array() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- array(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- array(Iterator<?>) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- ARRAY_END - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
B
- Base64Coder - Class in nl.tue.id.oocsi.client.socket
-
A Base64 encoder/decoder.
- battery - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means low, Off means normal.
- battery - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
% Percentage of battery that is left
- battery_charging - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means charging, Off means not charging.
- bean(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- bool(boolean) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- buf - Variable in class nl.tue.id.oocsi.client.data.JSONReader
- buf - Variable in class nl.tue.id.oocsi.client.data.JSONWriter
- buildCall(OOCSIClient, int, int) - Method in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
-
build a call to a responder on OOCSI for this method
C
- c - Variable in class nl.tue.id.oocsi.client.data.JSONReader
- call(String) - Method in class nl.tue.id.oocsi.OOCSI
-
create a call for service method "callName"
- call(String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a call for service method "callName"
- call(String, int) - Method in class nl.tue.id.oocsi.OOCSI
-
create a call for service method "callName" with a specific timeout
- call(String, int) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a call for service method "callName" with a specific timeout
- call(String, int, int) - Method in class nl.tue.id.oocsi.OOCSI
-
create a call for service method "callName" with a specific timeout
- call(String, int, int) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a call for service method "callName" with a specific timeout
- call(String, String) - Method in class nl.tue.id.oocsi.OOCSI
-
create a call for service method "callName" on channel "channelName"
- call(String, String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a call for service method "callName" on channel "channelName"
- call(String, String, int) - Method in class nl.tue.id.oocsi.OOCSI
-
create a call for service method "callName" with a specific timeout on channel "channelName"
- call(String, String, int) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a call for service method "callName" with a specific timeout on channel "channelName"
- call(String, String, int, int) - Method in class nl.tue.id.oocsi.OOCSI
-
create a call for service method "callName" with a specific timeout on channel "channelName"
- call(String, String, int, int) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a call for service method "callName" with a specific timeout on channel "channelName"
- calls - Variable in class nl.tue.id.oocsi.client.data.JSONWriter
- canSend() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
check whether all values have been filled in for sending the call
- carbon_dioxide - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
ppm Concentration of carbon dioxide.
- carbon_monoxide - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
ppm Concentration of carbon monoxide.
- category - Variable in class nl.tue.id.oocsi.client.services.Service
- CCT - nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
- CCT - nl.tue.id.oocsi.client.data.OOCSIDevice.LightSpectrum
- channel(String) - Method in class nl.tue.id.oocsi.OOCSI
-
send data through a channel given by the channelName
- channel(String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
send data through a channel given by the channelName
- channelName - Variable in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- channelName - Variable in class nl.tue.id.oocsi.OOCSIEvent
- channels - Variable in class nl.tue.id.oocsi.client.OOCSIClient
- channels() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
retrieve the list of channels on the server
- channels() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
retrieve the current channels on server
- channels(String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
retrieve the list of sub-channel of the channel with the given name on the server
- channels(String) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
retrieve the current sub-channels of the given channel on server
- client - Variable in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- clients() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
retrieve the list of clients on the server
- clients() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
retrieve the current channels on server
- closestNeighbor(Map<String, T>) - Method in interface nl.tue.id.oocsi.client.behavior.OOCSISpatial.DistanceMetric
- cold - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means cold, Off means normal.
- COLON - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- COMMA - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- connect() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
connect to OOCSI network without a concrete server given, i.e., wait for multi-cast messages broadcasting a server to connect to
- connect() - Method in class nl.tue.id.oocsi.OOCSICommunicator
- connect(String, int) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
connect to OOCSI network
- connect(String, int) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
connect to OOCSI at address hostname:port
- connect(String, int) - Method in class nl.tue.id.oocsi.OOCSICommunicator
- connect(String, String) - Method in class nl.tue.id.oocsi.StateMachine.State
- connect(String, String, Number) - Method in class nl.tue.id.oocsi.StateMachine.State
- connect(String, String, String) - Method in class nl.tue.id.oocsi.StateMachine.State
- connect(OOCSIVariable<Double>) - Method in class nl.tue.id.oocsi.OOCSIDouble
- connect(OOCSIVariable<Float>) - Method in class nl.tue.id.oocsi.OOCSIFloat
- connect(OOCSIVariable<Integer>) - Method in class nl.tue.id.oocsi.OOCSIInt
- connect(OOCSIVariable<Long>) - Method in class nl.tue.id.oocsi.OOCSILong
- connect(OOCSIVariable<T>) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
connect the given variable to this variable, so whenever this variable is set, the connected given variable will be set as well
- connectionEstablished - Variable in class nl.tue.id.oocsi.client.socket.SocketClientRunner
- connectivity - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means connected, Off means disconnected.
- Constellation - Class in nl.tue.id.oocsi
- Constellation() - Constructor for class nl.tue.id.oocsi.Constellation
- containsNode(Object) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
check whether a node given by nodeName is represented
- createAwareness(OOCSI, String, int, String...) - Static method in class nl.tue.id.oocsi.Constellation
- createAwareness(OOCSI, String, String...) - Static method in class nl.tue.id.oocsi.Constellation
-
AWARENESS
- createBoolean() - Static method in class nl.tue.id.oocsi.Constellation
-
VARIABLE
- createBoolean(Boolean, int) - Static method in class nl.tue.id.oocsi.Constellation
- createBoolean(OOCSI, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createBoolean(OOCSI, String, String, Boolean) - Static method in class nl.tue.id.oocsi.Constellation
- createBoolean(OOCSI, String, String, Boolean, int) - Static method in class nl.tue.id.oocsi.Constellation
- createBooleanConsensus(OOCSIClient, String, String, int) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createBooleanConsensus(OOCSIClient, String, String, int, Handler) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createBooleanConsensus(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
- createBooleanConsensus(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createDouble() - Static method in class nl.tue.id.oocsi.Constellation
- createDouble(Double, int) - Static method in class nl.tue.id.oocsi.Constellation
- createDouble(OOCSI, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createDouble(OOCSI, String, String, Double) - Static method in class nl.tue.id.oocsi.Constellation
- createDouble(OOCSI, String, String, Double, int) - Static method in class nl.tue.id.oocsi.Constellation
- createFloat() - Static method in class nl.tue.id.oocsi.Constellation
- createFloat(Float, int) - Static method in class nl.tue.id.oocsi.Constellation
- createFloat(OOCSI, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createFloat(OOCSI, String, String, Float) - Static method in class nl.tue.id.oocsi.Constellation
- createFloat(OOCSI, String, String, Float, int) - Static method in class nl.tue.id.oocsi.Constellation
- createFloatAvgConsensus(OOCSIClient, String, String, int) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createFloatAvgConsensus(OOCSIClient, String, String, int, Handler) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createFloatAvgConsensus(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
- createFloatAvgConsensus(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createInteger() - Static method in class nl.tue.id.oocsi.Constellation
- createInteger(Integer, int) - Static method in class nl.tue.id.oocsi.Constellation
- createInteger(OOCSI, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createInteger(OOCSI, String, String, Integer) - Static method in class nl.tue.id.oocsi.Constellation
- createInteger(OOCSI, String, String, Integer, int) - Static method in class nl.tue.id.oocsi.Constellation
- createIntegerAvgConsensus(OOCSIClient, String, String, int) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createIntegerAvgConsensus(OOCSIClient, String, String, int, Handler) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createIntegerAvgConsensus(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
- createIntegerAvgConsensus(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createIntegerConsensus(OOCSIClient, String, String, int) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
STATIC FACTORY METHODS
- createIntegerConsensus(OOCSIClient, String, String, int, Handler) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createIntegerConsensus(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
-
CONSENSUS
- createIntegerConsensus(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createIntegerGather(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
-
GATHER
- createIntegerGather(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createLong() - Static method in class nl.tue.id.oocsi.Constellation
- createLong(Long, int) - Static method in class nl.tue.id.oocsi.Constellation
- createLong(OOCSI, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createLong(OOCSI, String, String, Long) - Static method in class nl.tue.id.oocsi.Constellation
- createLong(OOCSI, String, String, Long, int) - Static method in class nl.tue.id.oocsi.Constellation
- createSimpleCallerHandler(String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
create a simple handler that calls the method with the given handlerName in the parent object (without parameters)
- createSpatial(OOCSIClient, String, String, float, float) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
create an OOCSISpatial for 1D float positions
- createSpatial(OOCSIClient, String, String, float, float, float) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
create an OOCSISpatial for 2D float positions
- createSpread(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
-
SPREAD
- createSpread(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createString(OOCSI, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createString(OOCSI, String, String, String) - Static method in class nl.tue.id.oocsi.Constellation
- createString(OOCSI, String, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
- createStringConsensus(OOCSIClient, String, String, int) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createStringConsensus(OOCSIClient, String, String, int, Handler) - Static method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- createStringConsensus(OOCSI, String, String, int) - Static method in class nl.tue.id.oocsi.Constellation
- createStringConsensus(OOCSI, String, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
- createSync(OOCSI, String, int, String) - Static method in class nl.tue.id.oocsi.Constellation
-
SYNC
- current - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
A Current
- CURRENT - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- cyclic(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
D
- data - Variable in class nl.tue.id.oocsi.OOCSIEvent
- data(String, boolean) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, boolean) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, boolean) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, boolean) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, double) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, double) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, double) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store data in message
- data(String, double) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, double) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, double) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store data in message
- data(String, float) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, float) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, float) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store data in message
- data(String, float) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, float) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, float) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store data in message
- data(String, int) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, int) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, int) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store data in message
- data(String, int) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, int) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, int) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store data in message
- data(String, long) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, long) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, long) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store data in message
- data(String, long) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, long) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, long) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store data in message
- data(String, Object) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, Object) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, Object) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store data in message
- data(String, Object) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, Object) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, Object) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store data in message
- data(String, String) - Method in class nl.tue.id.datafoundry.DFDataset
-
add a piece of data (key - value) for a sending to an IoT or Entity dataset
- data(String, String) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(String, String) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store data in message
- data(String, String) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store data in message
- data(String, String) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(String, String) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store data in message
- data(Map<String, ? extends Object>) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- data(Map<String, ? extends Object>) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
store bulk data in message
- data(Map<String, ? extends Object>) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store bulk data in message
- data(Map<String, ? extends Object>) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- data(Map<String, ? extends Object>) - Method in interface nl.tue.id.oocsi.OOCSIData
-
store bulk data in message
- data(OOCSIData) - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
store bulk data in message
- DataFoundry - Class in nl.tue.id.datafoundry
-
Java client API for Data Foundry This mini-library allows to access IoT and Entity datasets on a Data Foundry server.
- DataFoundry(String) - Constructor for class nl.tue.id.datafoundry.DataFoundry
-
create a data foundry connection
- DataHandler - Class in nl.tue.id.oocsi.client.protocol
-
event handler for events with structured data
- DataHandler() - Constructor for class nl.tue.id.oocsi.client.protocol.DataHandler
- dataset(long, String) - Method in class nl.tue.id.datafoundry.DataFoundry
-
create access to a dataset with a given
id
and HTTP accesstoken
- date - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
Date, must be formatted according to ISO8601.
- decode(char[]) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Decodes a byte array from Base64 format.
- decode(char[], int, int) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Decodes a byte array from Base64 format.
- decode(String) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Decodes a byte array from Base64 format.
- decodeLines(String) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Decodes a byte array from Base64 format and ignores line separators, tabs and blanks.
- decodeString(String) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Decodes a string from Base64 format.
- defaultValue - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceField
- delete() - Method in class nl.tue.id.datafoundry.DFDataset
-
delete an entry from an entity dataset
- device(String) - Method in class nl.tue.id.datafoundry.DFDataset
-
set the device for logging to an IoT dataset
- DFDataset - Class in nl.tue.id.datafoundry
-
Dataset class for all operations on an IoT or Entity dataset.
- DIMMABLE - nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
- disconnect() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
disconnect from OOCSI network
- disconnect() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
- disconnect() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
disconnect from OOCSI
- disconnect() - Method in class nl.tue.id.oocsi.OOCSI
-
disconnect this client from the OOCSI network
- disconnect(OOCSIVariable<Double>) - Method in class nl.tue.id.oocsi.OOCSIDouble
- disconnect(OOCSIVariable<Float>) - Method in class nl.tue.id.oocsi.OOCSIFloat
- disconnect(OOCSIVariable<Integer>) - Method in class nl.tue.id.oocsi.OOCSIInt
- disconnect(OOCSIVariable<Long>) - Method in class nl.tue.id.oocsi.OOCSILong
- disconnect(OOCSIVariable<T>) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
disconnect the given variable from this variable; no more events will be sent
- distance(T) - Method in interface nl.tue.id.oocsi.client.behavior.OOCSISpatial.DistanceMetric
- door - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means open, Off means closed.
E
- emitClassName - Variable in class nl.tue.id.oocsi.client.data.JSONWriter
- encode(byte[]) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Encodes a byte array into Base64 format.
- encode(byte[], int) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Encodes a byte array into Base64 format.
- encode(byte[], int, int) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Encodes a byte array into Base64 format.
- encodeLines(byte[]) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Encodes a byte array into Base 64 format and breaks the output into lines of 76 characters.
- encodeLines(byte[], int, int, int, String) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Encodes a byte array into Base 64 format and breaks the output into lines.
- encodeString(String) - Static method in class nl.tue.id.oocsi.client.socket.Base64Coder
-
Encodes a string into Base64 format.
- energy - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
Wh, kWh, MWh Energy, statistics will be stored in kWh.
- enter() - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
trigger the enter handler, if it is given and not null
- enter(String) - Method in class nl.tue.id.oocsi.StateMachine.State
- escapes - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- EventHandler - Class in nl.tue.id.oocsi.client.protocol
-
event handler for events with structured data
- EventHandler() - Constructor for class nl.tue.id.oocsi.client.protocol.EventHandler
- EventRecorder - Class in nl.tue.id.oocsi
-
OOCSI looper is an event recorder client that listens on an OOCSI channel and records all incoming events on that channel.
- EventRecorder(OOCSI, String) - Constructor for class nl.tue.id.oocsi.EventRecorder
- EventRecorder(OOCSI, String, int) - Constructor for class nl.tue.id.oocsi.EventRecorder
- exceeded(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
- execute() - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
triggers the execute handler of the current state of this state machine
- execute() - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
trigger the execute handler, if it is given and not null
- execute() - Method in class nl.tue.id.oocsi.StateMachine
- execute(String) - Method in class nl.tue.id.oocsi.StateMachine.State
- exit() - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
trigger the exit handler, if it is given and not null
- exit(String) - Method in class nl.tue.id.oocsi.StateMachine.State
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
safely extract the message value in the right type
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.OOCSIBoolean
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.OOCSIDouble
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.OOCSIFloat
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.OOCSIInt
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.OOCSILong
- extractValue(OOCSIEvent, String) - Method in class nl.tue.id.oocsi.OOCSIString
F
- filter(Double) - Method in class nl.tue.id.oocsi.OOCSIDouble
- filter(Float) - Method in class nl.tue.id.oocsi.OOCSIFloat
- filter(Integer) - Method in class nl.tue.id.oocsi.OOCSIInt
- filter(Long) - Method in class nl.tue.id.oocsi.OOCSILong
- filter(T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
filter the newly entered variable setting (if variable type is numerical, this could be a min/max filter and additional filtering based on the standard deviation, or a different filter)
- FIRST - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- forwarders - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- fresh() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
retrieve the number of milliseconds that have passed since the last setting of the variable by another OOCSI client
G
- garage_door - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means open, Off means closed.
- gas - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means gas detected, Off means no gas (clear).
- gas - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
m³, ft³ Volume of gas, statistics will be stored in m³.
- generator(long) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long) - Method in class nl.tue.id.oocsi.OOCSIInt
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long) - Method in class nl.tue.id.oocsi.OOCSILong
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long, String, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long, String, String) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long, String, String) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long, String, String) - Method in class nl.tue.id.oocsi.OOCSIInt
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- generator(long, String, String) - Method in class nl.tue.id.oocsi.OOCSILong
-
creates a periodic feedback loop that feed either the last input value or the reference value into the variable (locally).
- get() - Method in class nl.tue.id.datafoundry.DFDataset
-
get an entry from an entity dataset
- get() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
returns the current consensus value or my last vote; attention: may return null in case no vote was given
- get() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIGather
-
returns the current set of options mapped to their frequency
- get() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
return the current allocation of this instance
- get() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIVariable
-
retrieve the current value of the variable (will check for expiration if a timeout is given; in this case the reference value is set)
- get() - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
get the current state of this state machine; might be null
- get() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
retrieve the current value of the variable (will check for expiration if a timeout is given; in this case the reference value is set)
- get() - Method in class nl.tue.id.oocsi.OOCSIDouble
- get() - Method in class nl.tue.id.oocsi.OOCSIFloat
- get() - Method in class nl.tue.id.oocsi.OOCSIInt
- get() - Method in class nl.tue.id.oocsi.OOCSILong
- get() - Method in class nl.tue.id.oocsi.OOCSIVariable
-
retrieve the current value of the variable (will check for expiration if a timeout is given; in this case the reference value is set)
- get() - Method in class nl.tue.id.oocsi.StateMachine
- get(String) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
get the state with the given name
- get(String, String) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
get data with key from node with given name
- get(String, String, double) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
get data with key from node with given name
- get(String, String, float) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
get data with key from node with given name
- get(String, String, int) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
get data with key from node with given name
- get(String, String, long) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
get data with key from node with given name
- get(String, String, String) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
get data with key from node with given name
- get(T) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
returns the current consensus value or the default value if no consensus has been reached yet
- getAggregate(Map<String, T>) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
compute the aggregate of all votes (after all votes have been recorded, the aggregate function is used to compute a single result value; different implementations might be plugged into this depending on needs)
- getArray(String, T[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the array value for the given key as array of type T.
- getBoolean(String, boolean) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get value for the given key as boolean
- getBooleanArray(String, boolean[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as boolean array (boolean[])
- getChannel() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the name of the recipient or channel that this event was sent to
- getChannels() - Method in class nl.tue.id.oocsi.OOCSI
-
retrieve the list of channels on the server
- getChannels(String) - Method in class nl.tue.id.oocsi.OOCSI
-
retrieve the list of sub-channel of the channel with the given name on the server
- getClients() - Method in class nl.tue.id.oocsi.OOCSI
-
retrieve the list of clients on the server
- getClosestNeighbor() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
returns the handle of the closest neighbor
- getCycle() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
return the current cycle count
- getDouble(String, double) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get value for the given key as double
- getDoubleArray(String, double[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as double array (double[])
- getFirstResponse() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
retrieve the first response to this call as an OOCSIEvent
- getFloat(String, float) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get value for the given key as float
- getFloatArray(String, float[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as float array (float[])
- getHandle() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
-
returns the unique handle for this object
- getId() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
return unique id of this OOCSI call
- getInt(String, int) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get value for the given key as int
- getIntArray(String, int[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as int array (int[])
- getLong(String, long) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get value for the given key as long
- getLongArray(String, long[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as long array (long[])
- getMessages() - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
-
retrieve all messages to allow for call returns
- getName() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
get name of this OOCSI client
- getName() - Method in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
-
get method name respective the service
- getName() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
return client name
- getName() - Method in class nl.tue.id.oocsi.OOCSI
-
return client handle
- getNeighbors() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
returns the current set of direct neighbors
- getObject(String) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as Object
- getProgress() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
return the cycle progress (an integer value from 0 - 19)
- getRecipient() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the name of the recipient or channel that this event was sent to
- getResolution() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
returns the resolution of this synchronization process
- getSender() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the name or handle of the sender who sent this event
- getState(boolean) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
retrieve the currently set state for the only component -- or default value
- getStateOfComponent(String, boolean) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
retrieve the currently set state for the given component -- or default value
- getString(String) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as String
- getString(String, String) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as String
- getStringArray(String, String[]) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get the value for the given key as String array (String[])
- getTime() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get timestamp of this event as long value
- getTimestamp() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get timestamp of this event as Date object
- getType() - Method in class nl.tue.id.oocsi.client.services.Service.ServiceField
- getValue(float) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
retrieve the currently set value for the only component -- or default value
- getValue(String, float) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
retrieve the currently set value for a given key for the only component -- or default value
- getValueOfComponent(String, float) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
retrieve the currently set default value for the given component -- or default value
- getValueOfComponent(String, String, float) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
retrieve the currently set value for the given component and key -- or default value
H
- handle - Variable in class nl.tue.id.oocsi.client.services.Service
- handle - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
- HANDLE - Static variable in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- handleMessage(String) - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
handle a whole message
- Handler - Class in nl.tue.id.oocsi.client.protocol
-
event handler for events with structured data
- Handler() - Constructor for class nl.tue.id.oocsi.client.protocol.Handler
- has(String) - Method in class nl.tue.id.oocsi.OOCSIEvent
-
check if the event contains data with the key
- hasResponse() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
check whether this call has gotten a response
- heat - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means hot, Off means normal.
- heyOOCSI() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
create an OOCSI device instance with the client's name that can be configured and then submitted to the OOCSI server
- heyOOCSI() - Method in class nl.tue.id.oocsi.OOCSI
-
create an OOCSI device instance with the client's name that can be configured and then submitted to the OOCSI server
- heyOOCSI(String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
create a named OOCSI device that can be configured and then submitted to the OOCSI server
- heyOOCSI(String) - Method in class nl.tue.id.oocsi.OOCSI
-
create a named OOCSI device that can be configured and then submitted to the OOCSI server
- humidity - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
% Relative humidity
I
- id(String) - Method in class nl.tue.id.datafoundry.DFDataset
-
set the item ID for accessing an Entity dataset item
- illuminance - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
lx, lm Light level
- input - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
- internal() - Method in class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
-
get internal map
- internal() - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
- internal() - Method in interface nl.tue.id.oocsi.OOCSIData
-
return internal representation of the data as a Map
- internalReceive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
-
internal hook to the super class method
- isConnected() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
check connection to OOCSI network
- isConnected() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
check if still connected to OOCSI
- isConnected() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
check if still connected to OOCSI
- isConnected() - Method in class nl.tue.id.oocsi.OOCSI
-
returns whether the OOCSI client was able to connect to a server (already)
- isConnectionInProgress() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
return true if the connection is currently in progress
- isDone() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
return whether the allocation process is temporarily done (= no changes have occurred for a reasonable time)
- isEmpty() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
check whether nodes are locally represented
- isEmpty() - Method in class nl.tue.id.oocsi.client.protocol.MultiHandler
- isInState(String) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
check if this state machine is currently in the given state
- isInState(String) - Method in class nl.tue.id.oocsi.StateMachine
- isNeighbor(T) - Method in interface nl.tue.id.oocsi.client.behavior.OOCSISpatial.DistanceMetric
- isRebalancing() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
return whether period re-balancing of allocation is switched on or off
- isReconnect() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
retrieve whether we are still trying to reconnect, or whether we have given up on this connection (server, handle, etc.)
- isReconnect() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
- isReconnect() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
retrieve whether we are still trying to reconnect, or whether we have given up on this connection (server, handle, etc.)
- isRunning() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
check if this system process is running
- isSynced() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
are we synchronized to the channel?
- isValid() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
check whether this call is still not expired or has gotten a response
- it - Variable in class nl.tue.id.oocsi.client.data.JSONReader
J
- JSONReader - Class in nl.tue.id.oocsi.client.data
-
JSONReader is part of the StringTree library (https://github.com/efficacy/stringtree) Apache licence 2.0 http://www.apache.org/licenses/LICENSE-2.0.html
- JSONReader() - Constructor for class nl.tue.id.oocsi.client.data.JSONReader
- JSONWriter - Class in nl.tue.id.oocsi.client.data
-
JSONWriter is part of the StringTree library (https://github.com/efficacy/stringtree) Apache licence 2.0 http://www.apache.org/licenses/LICENSE-2.0.html
- JSONWriter() - Constructor for class nl.tue.id.oocsi.client.data.JSONWriter
- JSONWriter(boolean) - Constructor for class nl.tue.id.oocsi.client.data.JSONWriter
K
- keys() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
retrieve all keys that will be represented from node data (configured in constructor)
- keys() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
retrieve all keys from the event
- kill() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
kills the connection to OOCSI server this is for testing, do NOT use for normal operation
- kill() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
- kill() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
kills this client connection from OOCSI
L
- last() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
retrieve the last input value
- lastInput - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- light - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means light detected, Off means no light.
- limit(int, int) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- limit(int, int) - Method in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
-
reconfigure the rate limitation to different "rate" and "seconds" timeframe
- limit(int, int) - Method in class nl.tue.id.oocsi.OOCSIBoolean
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- limit(int, int) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- limit(int, int) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- limit(int, int) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- limit(int, int) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- limit(int, int) - Method in class nl.tue.id.oocsi.OOCSIString
-
set the limiting of incoming events in terms of "rate" and "seconds" timeframe; supports chained invocation
- loadSequence(String) - Method in class nl.tue.id.oocsi.EventRecorder
-
loads the active sequence from a MIDI file with given file name
- localInstance(Object) - Static method in class nl.tue.id.oocsi.OOCSI
-
create a local instance of OOCSI, without a connection
- localUpdate() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
notifier for a local variable update; override to get notified about this
- lock - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means open (unlocked), Off means closed (locked).
- log() - Method in class nl.tue.id.datafoundry.DFDataset
-
log an entry to an IoT dataset
- log(String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
logging of message on console (can be overridden by subclass)
- log(String) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
logging of message on console (can be overridden by subclass)
- log(String) - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
logging of message on console (can be overridden by subclass)
- loop(boolean) - Method in class nl.tue.id.oocsi.Animator
-
set the animation behavior to looping (true) or not (false)
M
- map(Map<String, Object>) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- max - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- max(Double) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the maximum value for (upper-)bounded variable (also possible during operation); supports chained invocation
- max(Float) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the maximum value for (upper-)bounded variable (also possible during operation); supports chained invocation
- max(Integer) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the maximum value for (upper-)bounded variable (also possible during operation); supports chained invocation
- max(Long) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the maximum value for (upper-)bounded variable (also possible during operation); supports chained invocation
- max(T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the maximum value for (upper-)bounded variable (also possible during operation); supports chained invocation
- mean - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- message() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- message(String) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- message(String, T) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- MESSAGE_HANDLE - Static variable in class nl.tue.id.oocsi.client.services.OOCSICall
- MESSAGE_ID - Static variable in class nl.tue.id.oocsi.client.services.OOCSICall
- methods - Variable in class nl.tue.id.oocsi.client.services.Service
- min - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- min(Double) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the minimum value for (lower-)bounded variable (also possible during operation); supports chained invocation
- min(Float) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the minimum value for (lower-)bounded variable (also possible during operation); supports chained invocation
- min(Integer) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the minimum value for (lower-)bounded variable (also possible during operation); supports chained invocation
- min(Long) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the minimum value for (lower-)bounded variable (also possible during operation); supports chained invocation
- min(T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the minimum value for (lower-)bounded variable (also possible during operation); supports chained invocation
- moisture - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means wet, Off means dry.
- monetary - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
ISO 4217 Monetary value with a currency.
- motion - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means motion detected, Off means no motion (clear).
- moving - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means moving, Off means not moving (stopped).
- MultiHandler - Class in nl.tue.id.oocsi.client.protocol
-
Handler that internally maintains a list of sub-handlers which will be called in FIFO order once this handler is called; this is very helpful for multiple subscriptions to a channel
- MultiHandler() - Constructor for class nl.tue.id.oocsi.client.protocol.MultiHandler
- MultiHandler(Handler) - Constructor for class nl.tue.id.oocsi.client.protocol.MultiHandler
- MultiMessage - Class in nl.tue.id.oocsi.client.protocol
- MultiMessage(OOCSIClient) - Constructor for class nl.tue.id.oocsi.client.protocol.MultiMessage
- MultiMessage(OOCSIClient, String) - Constructor for class nl.tue.id.oocsi.client.protocol.MultiMessage
N
- name - Variable in class nl.tue.id.oocsi.client.OOCSIClient
- name - Variable in class nl.tue.id.oocsi.client.services.Service
- name - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceField
- name - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
- neighborCall(String) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
return a message container that includes OOCSICalls to all neighbors which can be filled and sent all at once
- neighbors() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
returns a message container that includes messages to all neighbors which can be filled and sent all at once
- newServiceMethod() - Method in class nl.tue.id.oocsi.client.services.Service
- next() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- NEXT - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- nitrogen_dioxide - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of nitrogen dioxide
- nitrogen_monoxide - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of nitrogen monoxide
- nitrous_oxide - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of nitrous oxide
- nl.tue.id.datafoundry - package nl.tue.id.datafoundry
- nl.tue.id.oocsi - package nl.tue.id.oocsi
- nl.tue.id.oocsi.client - package nl.tue.id.oocsi.client
- nl.tue.id.oocsi.client.behavior - package nl.tue.id.oocsi.client.behavior
- nl.tue.id.oocsi.client.behavior.state - package nl.tue.id.oocsi.client.behavior.state
- nl.tue.id.oocsi.client.data - package nl.tue.id.oocsi.client.data
- nl.tue.id.oocsi.client.protocol - package nl.tue.id.oocsi.client.protocol
- nl.tue.id.oocsi.client.services - package nl.tue.id.oocsi.client.services
- nl.tue.id.oocsi.client.socket - package nl.tue.id.oocsi.client.socket
- nodes() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
retrieve set of node names
- number() - Method in class nl.tue.id.oocsi.client.data.JSONReader
O
- object() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- OBJECT_END - Static variable in class nl.tue.id.oocsi.client.data.JSONReader
- occupancy - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means occupied, Off means not occupied (clear).
- ONOFF - nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
- oocsi - Variable in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
- OOCSI - Class in nl.tue.id.oocsi
-
central OOCSI connector for Processing
- OOCSI(Object) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSI(Object, String) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSI(Object, String, boolean) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSI(Object, String, String) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSI(Object, String, String, boolean) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSI(Object, String, String, int) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSI(Object, String, String, int, boolean) - Constructor for class nl.tue.id.oocsi.OOCSI
-
create a new OOCSI network connection
- OOCSIAuthenticationException() - Constructor for exception nl.tue.id.oocsi.client.socket.SocketClient.OOCSIAuthenticationException
- OOCSIAwareness - Class in nl.tue.id.oocsi.client.behavior
-
OOCSIAwareness is a system-level primitive that allows for local representations of different OOCSI clients on the same channel and the data they share on that channel.
- OOCSIAwareness(OOCSIClient, String) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
create a new awareness process on the given channel for ALL data
- OOCSIAwareness(OOCSIClient, String, int, String...) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
create a new awareness process on the given channel for the specified data (as keys), a timeout is specified to "forget" nodes on the channel, unless they post data during the timeout duration
- OOCSIAwareness(OOCSIClient, String, String...) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
create a new awareness process on the given channel for the specified data (as keys)
- OOCSIBoolean - Class in nl.tue.id.oocsi
-
OOCSIBoolean is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIBoolean(boolean, int) - Constructor for class nl.tue.id.oocsi.OOCSIBoolean
- OOCSIBoolean(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIBoolean
- OOCSIBoolean(OOCSIClient, String, String, boolean) - Constructor for class nl.tue.id.oocsi.OOCSIBoolean
- OOCSIBoolean(OOCSIClient, String, String, boolean, int) - Constructor for class nl.tue.id.oocsi.OOCSIBoolean
- OOCSICall - Class in nl.tue.id.oocsi.client.services
-
call helper class for constructing, sending and receiving (function) calls over OOCSI
- OOCSICall(OOCSIClient, String, int, int) - Constructor for class nl.tue.id.oocsi.client.services.OOCSICall
-
create a new message to the channel "channelName"
- OOCSICall(OOCSIClient, String, String, int, int) - Constructor for class nl.tue.id.oocsi.client.services.OOCSICall
-
create a new message to the channel "channelName"
- OOCSIClient - Class in nl.tue.id.oocsi.client
-
OOCSI client wrapper for socket client
- OOCSIClient() - Constructor for class nl.tue.id.oocsi.client.OOCSIClient
-
create OOCSI client with a RANDOM name as the system-wide handle
- OOCSIClient(String) - Constructor for class nl.tue.id.oocsi.client.OOCSIClient
-
create OOCSI client with the given name as the system-wide handle
- OOCSICommunicator - Class in nl.tue.id.oocsi
-
communication interface for OOCSI client
- OOCSICommunicator(Object, String) - Constructor for class nl.tue.id.oocsi.OOCSICommunicator
-
constructor
- OOCSIConsensus<T> - Class in nl.tue.id.oocsi.client.behavior
-
OOCSIConsensus is a system-level primitive that allows for easy consensus between different OOCSI clients on the same channel.
- OOCSIConsensus(OOCSIClient, String, String, int) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
create a new consensus process
- OOCSIConsensus(OOCSIClient, String, String, int, Handler) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
create a new consensus process with a callback that will be triggered when the consensus is reached
- OOCSIData - Interface in nl.tue.id.oocsi
- OOCSIDataImpl - Class in nl.tue.id.oocsi.client.protocol
- OOCSIDataImpl() - Constructor for class nl.tue.id.oocsi.client.protocol.OOCSIDataImpl
- OOCSIDevice - Class in nl.tue.id.oocsi.client.data
-
OOCSIDevice allows to configure one or more devices for an OOCSI client that can be recognized by HomeAssistant (and the OOCSI server) and will then be displayed or treated otherwise in a semantically correct way.
- OOCSIDevice(OOCSIClient, String) - Constructor for class nl.tue.id.oocsi.client.data.OOCSIDevice
-
create a new OOCSI device
- OOCSIDevice.BinarySensorType - Enum in nl.tue.id.oocsi.client.data
-
from: https://developers.home-assistant.io/docs/core/entity/binary-sensor/#available-device-classes
- OOCSIDevice.LedType - Enum in nl.tue.id.oocsi.client.data
-
from: ? Tbd.
- OOCSIDevice.LightSpectrum - Enum in nl.tue.id.oocsi.client.data
-
from: ? Tbd.
- OOCSIDevice.SensorType - Enum in nl.tue.id.oocsi.client.data
-
from: https://developers.home-assistant.io/docs/core/entity/sensor/#available-device-classes
- OOCSIDevice.SwitchType - Enum in nl.tue.id.oocsi.client.data
-
from: https://developers.home-assistant.io/docs/core/entity/switch/#available-device-classes
- OOCSIDouble - Class in nl.tue.id.oocsi
-
OOCSIDouble is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIDouble(double, int) - Constructor for class nl.tue.id.oocsi.OOCSIDouble
- OOCSIDouble(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIDouble
- OOCSIDouble(OOCSIClient, String, String, double) - Constructor for class nl.tue.id.oocsi.OOCSIDouble
- OOCSIDouble(OOCSIClient, String, String, double, int) - Constructor for class nl.tue.id.oocsi.OOCSIDouble
- OOCSIEvent - Class in nl.tue.id.oocsi
-
event class for receiving events from OOCSI
- OOCSIEvent(String, Map<String, Object>, String) - Constructor for class nl.tue.id.oocsi.OOCSIEvent
-
constructor (implicit timestamp upon creation)
- OOCSIEvent(String, Map<String, Object>, String, long) - Constructor for class nl.tue.id.oocsi.OOCSIEvent
-
constructor
- OOCSIEvent(String, Map<String, Object>, String, Date) - Constructor for class nl.tue.id.oocsi.OOCSIEvent
-
constructor
- OOCSIFloat - Class in nl.tue.id.oocsi
-
OOCSIFloat is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIFloat(float, int) - Constructor for class nl.tue.id.oocsi.OOCSIFloat
- OOCSIFloat(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIFloat
- OOCSIFloat(OOCSIClient, String, String, float) - Constructor for class nl.tue.id.oocsi.OOCSIFloat
- OOCSIFloat(OOCSIClient, String, String, float, int) - Constructor for class nl.tue.id.oocsi.OOCSIFloat
- OOCSIGather<T> - Class in nl.tue.id.oocsi.client.behavior
-
OOCSIGather is a system-level primitive that allows for easy collection of all values that different OOCSI clients contribute for the same channel.
- OOCSIGather(OOCSIClient, String, String, int) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIGather
-
create a new gathering process
- OOCSIGather(OOCSIClient, String, String, int, Handler) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIGather
-
create a new gathering process with a callback that will be called when the process is done
- OOCSIInt - Class in nl.tue.id.oocsi
-
OOCSIInt is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIInt(int, int) - Constructor for class nl.tue.id.oocsi.OOCSIInt
- OOCSIInt(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIInt
- OOCSIInt(OOCSIClient, String, String, int) - Constructor for class nl.tue.id.oocsi.OOCSIInt
- OOCSIInt(OOCSIClient, String, String, int, int) - Constructor for class nl.tue.id.oocsi.OOCSIInt
- OOCSILong - Class in nl.tue.id.oocsi
-
OOCSILong is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSILong(long, int) - Constructor for class nl.tue.id.oocsi.OOCSILong
- OOCSILong(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSILong
- OOCSILong(OOCSIClient, String, String, long) - Constructor for class nl.tue.id.oocsi.OOCSILong
- OOCSILong(OOCSIClient, String, String, long, int) - Constructor for class nl.tue.id.oocsi.OOCSILong
- OOCSIMessage - Class in nl.tue.id.oocsi.client.protocol
-
message helper class for constructing and sending events to OOCSI
- OOCSIMessage(OOCSIClient, String) - Constructor for class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
create a new message
- OOCSISpatial - Class in nl.tue.id.oocsi.client.behavior
-
OOCSISpatial is a system-level primitive that allows for routing across a multi-dimensional lattice of positions of different OOCSI clients.
- OOCSISpatial(OOCSIClient, String, String, OOCSISpatial.Position<?>) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
same as all, one value and a distance metric, routing is easy (shortest by direct distance)
- OOCSISpatial.DistanceMetric<T> - Interface in nl.tue.id.oocsi.client.behavior
- OOCSISpread - Class in nl.tue.id.oocsi.client.behavior
-
OOCSISpread is a system-level primitive that allows for easy allocation of all OOCSI clients in a channel.
- OOCSISpread(OOCSIClient, String, String, int) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
create a new OOCSI spread
- OOCSISpread(OOCSIClient, String, String, int, Handler) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
create a new OOCSI spread with a handler that will be triggered once a stable allocation has been established
- OOCSIStateMachine - Class in nl.tue.id.oocsi.client.behavior.state
-
A simple finite state machine for use with OOCSI API and logic was inspired by the Processing StateMachine library: https://github.com/atduskgreg/Processing-FSM and the AlphaBeta FSM library for Arduino: http://www.arduino.cc/playground/Code/FiniteStateMachine
- OOCSIStateMachine() - Constructor for class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
- OOCSIStateMachine.State - Class in nl.tue.id.oocsi.client.behavior.state
-
internal state representation
- OOCSIStateMachine.Transition - Class in nl.tue.id.oocsi.client.behavior.state
-
internal transition representation
- OOCSIString - Class in nl.tue.id.oocsi
-
OOCSIString is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIString(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIString
- OOCSIString(OOCSIClient, String, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIString
- OOCSIString(OOCSIClient, String, String, String, int) - Constructor for class nl.tue.id.oocsi.OOCSIString
- OOCSISync - Class in nl.tue.id.oocsi.client.behavior
-
OOCSISync is a system-level primitive that allows for easy synchronization between different OOCSI clients on the same channel.
- OOCSISync(OOCSIClient, String) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISync
-
creates a synchronization process among OOCSI clients on the same channel with a default of 2 secs between pulses.
- OOCSISync(OOCSIClient, String, int) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISync
-
creates a synchronization process among OOCSI clients on the same channel with a given time between pulses.
- OOCSISync(OOCSIClient, String, int, Handler) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISync
-
creates a synchronization process among OOCSI clients on the same channel with a given time between pulses and a callback to trigger at every pulse.
- OOCSISystemCommunicator<T> - Class in nl.tue.id.oocsi.client.behavior
- OOCSISystemCommunicator(OOCSIClient, String) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- OOCSISystemCommunicator(OOCSIClient, String, Handler) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- OOCSISystemCommunicator.SystemFilter<K> - Class in nl.tue.id.oocsi.client.behavior
- OOCSIVariable<T> - Class in nl.tue.id.oocsi.client.behavior
-
OOCSIVariable is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIVariable<T> - Class in nl.tue.id.oocsi.client.data
-
OOCSIVariable is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIVariable<T> - Class in nl.tue.id.oocsi
-
OOCSIVariable is a system-level primitive that allows for automatic synchronizing of local variables (read and write) with different OOCSI clients on the same channel.
- OOCSIVariable(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key
- OOCSIVariable(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.client.data.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key
- OOCSIVariable(OOCSIClient, String, String) - Constructor for class nl.tue.id.oocsi.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key
- OOCSIVariable(OOCSIClient, String, String, T) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key, in case no value can be retrieved from the channel a reference value is provided which will be set automatically after a timeout of 2000 ms (2 seconds)
- OOCSIVariable(OOCSIClient, String, String, T) - Constructor for class nl.tue.id.oocsi.client.data.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key, in case no value can be retrieved from the channel a reference value is provided which will be set automatically after a timeout of 2000 ms (2 seconds)
- OOCSIVariable(OOCSIClient, String, String, T) - Constructor for class nl.tue.id.oocsi.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key, in case no value can be retrieved from the channel a reference value is provided which will be set automatically after a timeout of 2000 ms (2 seconds)
- OOCSIVariable(OOCSIClient, String, String, T, int) - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key, in case no value can be retrieved from the channel a reference value is provided which will be set automatically after the given timeout
- OOCSIVariable(OOCSIClient, String, String, T, int) - Constructor for class nl.tue.id.oocsi.client.data.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key, in case no value can be retrieved from the channel a reference value is provided which will be set automatically after the given timeout
- OOCSIVariable(OOCSIClient, String, String, T, int) - Constructor for class nl.tue.id.oocsi.OOCSIVariable
-
Constructor for a simple OOCSI variable to sync on a given channel and key, in case no value can be retrieved from the channel a reference value is provided which will be set automatically after the given timeout
- OOCSIVariable(T, int) - Constructor for class nl.tue.id.oocsi.client.data.OOCSIVariable
-
Constructor for a local OOCSI variable that does not sync on a given channel and key, a reference value is provided which will be set automatically after the given timeout
- opening - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means open, Off means closed.
- OUTLET - nl.tue.id.oocsi.client.data.OOCSIDevice.SwitchType
-
Device is an outlet for power
- output - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
- ozone - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of ozone
P
- parseData(String) - Static method in class nl.tue.id.oocsi.client.protocol.Handler
-
parse the given "data" String into a Map
- parseTimestamp(String) - Static method in class nl.tue.id.oocsi.client.protocol.Handler
-
parse the given "timestamp" String into a long value
- pause() - Method in class nl.tue.id.oocsi.EventRecorder
-
pause play-back
- play() - Method in class nl.tue.id.oocsi.EventRecorder
-
plays back the active sequence from position 0
- PLAY_TO_CHANNEL - Static variable in class nl.tue.id.oocsi.EventRecorder
- PLAY_TO_SENDER - Static variable in class nl.tue.id.oocsi.EventRecorder
- plug - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means plugged in, Off means unplugged.
- pm1 - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of particulate matter less than 1 micrometer
- pm10 - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of particulate matter less than 10 micrometers
- pm25 - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of particulate matter less than 2.5 micrometers
- positions - Variable in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
- power - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means power detected, Off means no power.
- power - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
W, kW Power, statistics will be stored in W.
- power_factor - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
% Power Factor
- presence - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means home, Off means away.
- pressure - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
cbar, bar, hPa, inHg, kPa, mbar, Pa, psi Pressure, statistics will be stored in Pa.
- problem - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means problem detected, Off means no problem (OK).
R
- rate - Variable in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
- RateLimitedClientEventHandler - Class in nl.tue.id.oocsi.client.protocol
-
rate limited event handler for events with structured data that will only let through "rate" events per "second" secs; this counts for all incoming events per sender which protects against single senders overloading the system
- RateLimitedClientEventHandler(int, int) - Constructor for class nl.tue.id.oocsi.client.protocol.RateLimitedClientEventHandler
-
creates a rate limited event handler that will at most let through "rate" event per "second" secs
- RateLimitedEventHandler - Class in nl.tue.id.oocsi.client.protocol
-
rate limited event handler for events with structured data that will only let through "rate" events per "second" secs; this counts for all incoming events
- RateLimitedEventHandler(int, int) - Constructor for class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
-
creates a rate limited event handler that will at most let through "rate" event per "second" secs
- read() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- read(String) - Method in class nl.tue.id.oocsi.client.data.JSONReader
- read(CharacterIterator) - Method in class nl.tue.id.oocsi.client.data.JSONReader
- read(CharacterIterator, int) - Method in class nl.tue.id.oocsi.client.data.JSONReader
- receive(String, Map<String, Object>, long) - Method in class nl.tue.id.oocsi.client.protocol.DataHandler
-
abstract method to be implemented in anonymous classes that are instantiated by subscribing and registering for events; encapsulates all incoming data as data map (mostly used for testing)
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.DataHandler
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.EventHandler
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.Handler
-
abstract method to be implemented in anonymous classes that are instantiated by subscribing and registering for events
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.MultiHandler
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.RateLimitedClientEventHandler
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
- receive(String, Map<String, Object>, long, String, String) - Method in class nl.tue.id.oocsi.client.services.Responder
- receive(OOCSIEvent) - Method in class nl.tue.id.oocsi.client.protocol.EventHandler
-
abstract method to be implemented in anonymous classes that are instantiated by subscribing and registering for events; encapsulates all incoming data as OOCSIEvent object
- reconnect() - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
reconnects the connection to OOCSI server this is for testing, do NOT use for normal operation
- reconnect() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
- reconnect() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
reconnects this client connection to OOCSI
- recordEvent(String, String) - Method in class nl.tue.id.oocsi.EventRecorder
-
record an event to the active sequence and track; needs record to be called before
- reference() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
retrieve the reference value
- reference(Double) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the reference value (also possible during operation); supports chained invocation
- reference(Float) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the reference value (also possible during operation); supports chained invocation
- reference(Integer) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the reference value (also possible during operation); supports chained invocation
- reference(Long) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the reference value (also possible during operation); supports chained invocation
- reference(T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the reference value (also possible during operation); supports chained invocation
- register(String) - Method in class nl.tue.id.oocsi.OOCSI
-
register a responder; requires a method with the given responderName with parameters (OOCSIEvent, OOCSIData)
- register(String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
subscribe to channel "responderName" for handler method "responderName" in the parent class; the handler method will be called with an OOCSIEvent object and a response map object upon occurrence of an event; will try 'respondToOOCSIEvent' as a fall-back in case no matching handler method is found for "responderName"
- register(String, String) - Method in class nl.tue.id.oocsi.OOCSI
-
register a responder "responderName"; requires a method with the given name "responderName" with parameters (OOCSIEvent, OOCSIData)
- register(String, String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
register a handler method in the parent class with the given name "handlerName" for the channel "channelName"; the handler method will be called with an OOCSIEvent object upon occurrence of an event
- register(String, String, Responder) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
register a responder with the socket client with a given handle "callName" on channel "channelName"
- register(String, Responder) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
register a responder with the socket client with a given handle "callName"
- register(String, Responder) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
register a responder with a handle "callName"
- register(OOCSICall) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
register a call with the socket client
- register(OOCSICall) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
register a call in the list of open calls
- registerChannel(String, String) - Method in class nl.tue.id.oocsi.OOCSI
-
register a responder "responderName" on channel "channelName"; requires a method with the responder name "responderName" with parameters (OOCSIEvent, OOCSIData)
- registerChannel(String, String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
subscribe to channel "responderName" for handler method "responderName" in the parent class; the handler method will be called with an OOCSIEvent object and a response map object upon occurrence of an event; will try 'respondToOOCSIEvent' as a fall-back in case no matching handler method is found for "responderName"
- registerChannel(String, String, String) - Method in class nl.tue.id.oocsi.OOCSI
-
register a responder "responderName" on channel "channelName"; requires a method with the given name "responderName" with parameters (OOCSIEvent, OOCSIData)
- registerChannel(String, String, String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
register a handler method in the parent class with the given name "handlerName" for the channel "channelName"; the handler method will be called with an OOCSIEvent object upon occurrence of an event
- registerResponder(OOCSIClient, Responder) - Method in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
-
register a responder for this method
- remoteUpdate() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
notifier for a remote variable update (from another client); override to get notified about this
- remove(String) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
remove a node from the local representation
- remove(Handler) - Method in class nl.tue.id.oocsi.client.protocol.MultiHandler
- reset() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
reset the current allocation
- reset() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
reset dynamic properties
- reset() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- respond(Map<String, Object>) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
add a response to this open call
- respond(OOCSIEvent, OOCSIData) - Method in class nl.tue.id.oocsi.client.services.Responder
-
interface for responding to a call, needs to be implemented client-side
- Responder - Class in nl.tue.id.oocsi.client.services
-
internal event handler for synchronized events with structured data
- Responder() - Constructor for class nl.tue.id.oocsi.client.services.Responder
-
constructor for easy client-side instantiation with service methods
- Responder(OOCSIClient) - Constructor for class nl.tue.id.oocsi.client.services.Responder
-
constructor for instantiation without service methods
- resume() - Method in class nl.tue.id.oocsi.Animator
-
resume the animation
- resume() - Method in class nl.tue.id.oocsi.EventRecorder
-
resume play-back
- RGB - nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
- RGB - nl.tue.id.oocsi.client.data.OOCSIDevice.LightSpectrum
- RGBW - nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
- RGBWW - nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
- routing(String) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
returns the handle of the neighbor through which the closest path to the destination can be routed at this moment
- run() - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
- runner - Variable in class nl.tue.id.oocsi.client.socket.SocketClient
- running - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means running, Off means not running.
S
- safety - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means unsafe, Off means safe.
- saveSequence(String) - Method in class nl.tue.id.oocsi.EventRecorder
-
saves the active sequence in a MIDI file with given file name
- sayHi() - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
alternative call for submit()
- sc - Variable in class nl.tue.id.oocsi.client.OOCSIClient
- seconds - Variable in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
- send() - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
- send() - Method in class nl.tue.id.oocsi.client.protocol.OOCSIMessage
-
send message
- send() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
- send(String, String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
send a string message to the channel with the given name
- send(String, String) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
send raw message (no serialization)
- send(String, String, String, String, String) - Method in class nl.tue.id.oocsi.client.protocol.Handler
-
raw data wrapper; will parse the incoming data and forward the event to the actual handler
- send(String, Map<String, Object>) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
send a composite message (map) to the channel with the given name
- send(String, Map<String, Object>) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
send message with data payload (map of key value pairs which will be serialized before sending)
- sendAndWait() - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
-
send and wait for implicit timeout of 2 seconds
- sendAndWait() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
send message and then wait until either the timeout has passed or at least one response has been recorded
- sendAndWait(int) - Method in class nl.tue.id.oocsi.client.protocol.MultiMessage
-
send and wait for given timeout
- sendAndWait(int) - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
send message and then wait until either the timeout given by
ms
has passed or at least one response has been recorded - sender - Variable in class nl.tue.id.oocsi.OOCSIEvent
- sendRaw(String, String) - Method in class nl.tue.id.oocsi.OOCSI
-
send raw data to given channel
- Service - Class in nl.tue.id.oocsi.client.services
- Service() - Constructor for class nl.tue.id.oocsi.client.services.Service
- Service.ServiceField<T> - Class in nl.tue.id.oocsi.client.services
- Service.ServiceMethod - Class in nl.tue.id.oocsi.client.services
- ServiceField(String) - Constructor for class nl.tue.id.oocsi.client.services.Service.ServiceField
- ServiceField(String, T) - Constructor for class nl.tue.id.oocsi.client.services.Service.ServiceField
- serviceName - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
- services - Variable in class nl.tue.id.oocsi.client.OOCSIClient
- set() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
update the setting of the variable, but only if it is different from the reference value; and then let the channel know
- set(String) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine
-
set the state with the given name as the new current state; will trigger enter and exit handlers respectively
- set(String) - Method in class nl.tue.id.oocsi.StateMachine
- set(T) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
-
set my vote for the consensus process
- set(T) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIGather
-
set my vote for the gathering process
- set(T) - Method in class nl.tue.id.oocsi.client.behavior.OOCSIVariable
-
set the variable and let the channel know
- set(T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the variable and, if successful, let the channel know
- set(T) - Method in class nl.tue.id.oocsi.client.services.Service.ServiceField
- set(T) - Method in class nl.tue.id.oocsi.OOCSIVariable
-
set the variable and let the channel know
- setCallName(String) - Method in class nl.tue.id.oocsi.client.services.Responder
-
set call name for responses
- setEnter(Handler) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
set the enter handler (any time after creation of this state)
- setExecute(Handler) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
set the execute handler (any time after creation of this state)
- setExit(Handler) - Method in class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
set the exit handler (any time after creation of this state)
- setOocsi(OOCSIClient) - Method in class nl.tue.id.oocsi.client.services.Responder
-
set oocsi client for responses
- setRebalancing(boolean) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpread
-
switch periodic re-balancing of allocation
- setReconnect(boolean) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
set whether or not a reconnection attempt should be made if a connection fails
- setReconnect(boolean) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
set whether or not a reconnection attempt should be made if a connection fails
- setResolution(int) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
set the resolution of this synchronization process (20 works well, but 100 gives nicer output for using in visuals); rule of thumb: the smaller the resolution, the faster the synchornization
- setState(boolean) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the default value for the only component
- setValue(Number) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the default value for the only component
- setValue(String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the default value for the only component
- setValue(String, Number) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the value for a given key for the only component
- setValue(String, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the value for a given key for the only component
- setValueForComponent(String, Number) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the default value for the given component
- setValueForComponent(String, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set the default value for the given component
- setValueForComponent(String, String, boolean) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set a value for the given component
- setValueForComponent(String, String, Number) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set a value for the given component
- setValueForComponent(String, String, String) - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
set a value for the given component
- sigma - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- signal_strength - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
dB, dBm Signal strength
- size() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIAwareness
-
retrieve the number of nodes
- skipWhiteSpace() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- sleep(int) - Method in class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
let thread sleep for ms milliseconds
- smoke - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means smoke detected, Off means no smoke (clear).
- smooth(int) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation
- smooth(int) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation
- smooth(int) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation
- smooth(int) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation
- smooth(int) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation
- smooth(int, Double) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation.
- smooth(int, Float) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation.
- smooth(int, Integer) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation.
- smooth(int, Long) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation.
- smooth(int, T) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the length of the smoothing window, i.e., the buffer of historical values of this variable (also possible during operation, however, this will reset the buffer); supports chained invocation.
- SocketClient - Class in nl.tue.id.oocsi.client.socket
-
OOCSI client interface for socket connections
- SocketClient(String, Map<String, Handler>, Map<String, Responder>) - Constructor for class nl.tue.id.oocsi.client.socket.SocketClient
-
create a new socket client with the given name
- SocketClient.OOCSIAuthenticationException - Exception in nl.tue.id.oocsi.client.socket
- SocketClientRunner - Class in nl.tue.id.oocsi.client.socket
- SocketClientRunner(String, String, int, Map<String, Handler>, Map<String, Responder>) - Constructor for class nl.tue.id.oocsi.client.socket.SocketClientRunner
- SocketClientRunner(String, String, int, Map<String, Handler>, Map<String, Responder>, boolean, boolean) - Constructor for class nl.tue.id.oocsi.client.socket.SocketClientRunner
-
for testing only
- sound - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means sound detected, Off means no sound (clear).
- start() - Method in class nl.tue.id.oocsi.Animator
-
start the animator with the first step
- start() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
start the synchronization process
- startMulticastLookup() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
start pinging for a multi-cast lookup
- startRecording() - Method in class nl.tue.id.oocsi.EventRecorder
-
activate recording to a new sequence with a new single track; subsequent calls to recordEvent will record an event to that sequence and track
- State(String) - Constructor for class nl.tue.id.oocsi.StateMachine.State
- State(Handler, Handler, Handler) - Constructor for class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.State
-
constructor that sets the given handlers for enter, execute, and exit
- StateMachine - Class in nl.tue.id.oocsi
- StateMachine(OOCSI) - Constructor for class nl.tue.id.oocsi.StateMachine
- StateMachine.State - Class in nl.tue.id.oocsi
- stop() - Method in class nl.tue.id.oocsi.Animator
-
stop the animator (will not reset the steps, so you can resume the animation later)
- stop() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIConsensus
- stop() - Method in class nl.tue.id.oocsi.client.behavior.OOCSIGather
-
stop participating in this gathering process
- stop() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISpatial
-
stop participating in this gathering process
- stop() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISync
-
stop the synchronization process
- stop() - Method in class nl.tue.id.oocsi.EventRecorder
-
stop play-back and reset current position to beginning of sequence (tick 0)
- stopRecording() - Method in class nl.tue.id.oocsi.EventRecorder
-
deactivate recording; subsequent calls to recordEvent will not anymore record an event to that sequence and track until recording is started again
- string() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- string(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- submit() - Method in class nl.tue.id.oocsi.client.data.OOCSIDevice
-
submit the heyOOCSI! message to the server
- subscribe(String) - Method in class nl.tue.id.oocsi.OOCSI
-
subscribe to a channel
- subscribe(String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
subscribe to channel "channelName" for handler method "channelName" in the parent class; the handler method will be called with an OOCSIEvent object upon occurrence of an event; will try 'handleOOCSIEvent' as a fall-back in case no matching handler method is found for "channelName"
- subscribe(String, String) - Method in class nl.tue.id.oocsi.OOCSI
-
subscribe to a channel with a given handler method name "handlerName"
- subscribe(String, String) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
subscribe to channel "channelName" for handler method in the parent class with the given name "handlerName"; the handler method will be called with an OOCSIEvent object upon occurrence of an event
- subscribe(String, String, int, int) - Method in class nl.tue.id.oocsi.OOCSI
-
subscribe to a channel with a given handler method name "handlerName"; limits the rate of incoming events to "rate" events per "seconds" secs
- subscribe(String, String, int, int) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
subscribe to channel "channelName" for handler method in the parent class with the given name "handlerName"; the handler method will be called with an OOCSIEvent object upon occurrence of an event
- subscribe(String, String, int, int, boolean) - Method in class nl.tue.id.oocsi.OOCSI
-
subscribe to a channel with a given handler method name "handlerName"; limits the rate of incoming events to "rate" events per "seconds" secs; "ratePerSender" controls whether we limit the rate of incoming event per sender or for all events coming in from all senders
- subscribe(String, String, int, int, boolean) - Method in class nl.tue.id.oocsi.OOCSICommunicator
-
subscribe to channel "channelName" for handler method in the parent class with the given name "handlerName"; the handler method will be called with an OOCSIEvent object upon occurrence of an event
- subscribe(String, Handler) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
subscribe to the channel with the given name
- subscribe(String, Handler) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
subscribe to channel given by channelName
- subscribe(EventHandler) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
-
subscribe and inject filter checks
- subscribe(Handler) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
subscribe to my own channel
- subscribe(Handler) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
subscribe to channel my own channel
- sulphur_dioxide - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of sulphure dioxide
- SWITCH - nl.tue.id.oocsi.client.data.OOCSIDevice.SwitchType
-
Device is switch for some type of entity
- SystemFilter() - Constructor for class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator.SystemFilter
T
- tamper - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means tampering detected, Off means no tampering (clear)
- temperature - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
°C, °F Temperature, statistics will be stored in °C.
- timeout(int) - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
set the timeout in milliseconds (also possible during operation); supports chained invocation
- timeout(int) - Method in class nl.tue.id.oocsi.OOCSIDouble
-
set the timeout in milliseconds (also possible during operation); supports chained invocation
- timeout(int) - Method in class nl.tue.id.oocsi.OOCSIFloat
-
set the timeout in milliseconds (also possible during operation); supports chained invocation
- timeout(int) - Method in class nl.tue.id.oocsi.OOCSIInt
-
set the timeout in milliseconds (also possible during operation); supports chained invocation
- timeout(int) - Method in class nl.tue.id.oocsi.OOCSILong
-
set the timeout in milliseconds (also possible during operation); supports chained invocation
- timestamp - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
Timestamp, must be formatted according to ISO8601.
- timestamp - Variable in class nl.tue.id.oocsi.client.protocol.RateLimitedEventHandler
- timestamp - Variable in class nl.tue.id.oocsi.OOCSIEvent
- token - Variable in class nl.tue.id.oocsi.client.data.JSONReader
- token(String) - Method in class nl.tue.id.datafoundry.DFDataset
-
set the item token for accessing an Entity dataset item
- toString() - Method in class nl.tue.id.oocsi.OOCSIEvent
-
get a String representation of this event
- Transition(OOCSIStateMachine.State, OOCSIStateMachine.State) - Constructor for class nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.Transition
-
constructor that sets the given source and destination state of this new transition
- triggerHandler() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
U
- unicode() - Method in class nl.tue.id.oocsi.client.data.JSONReader
- unicode(char) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- unregister(String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
unregister a responder with the socket client with a given handle "callName"
- unregister(String) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
unregister a responder with a handle "callName"
- unregister(String, String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
unregister a responder with the socket client with a given handle "callName" on channel "channelName"
- unsubscribe() - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
unsubscribe from my channel
- unsubscribe(String) - Method in class nl.tue.id.oocsi.client.OOCSIClient
-
unsubscribe from the channel with the given name
- unsubscribe(String) - Method in class nl.tue.id.oocsi.client.socket.SocketClient
-
unsubscribe from channel given by channelName
- update - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means update available, Off means up-to-date.
- update() - Method in class nl.tue.id.datafoundry.DFDataset
-
update an entry in an entity dataset
- update() - Method in class nl.tue.id.oocsi.client.data.OOCSIVariable
-
notifier for a variable update; override to get notified about this
- updateFilter(String, Object) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator
- uuid - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceMethod
- uuid - Variable in class nl.tue.id.oocsi.client.services.Service
V
- value - Variable in class nl.tue.id.oocsi.client.services.Service.ServiceField
- value() - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator.SystemFilter
- value(Object) - Method in class nl.tue.id.oocsi.client.behavior.OOCSISystemCommunicator.SystemFilter
- value(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- valueOf(String) - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.LightSpectrum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.SwitchType
-
Returns the enum constant of this type with the specified name.
- values - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- values() - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.LedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.LightSpectrum
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum nl.tue.id.oocsi.client.data.OOCSIDevice.SwitchType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in class nl.tue.id.oocsi.client.OOCSIClient
- vibration - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means vibration detected, Off means no vibration.
- volatile_organic_compounds - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
µg/m³ Concentration of volatile organic compounds
- voltage - nl.tue.id.oocsi.client.data.OOCSIDevice.SensorType
-
V Voltage
W
- waitForResponse() - Method in class nl.tue.id.oocsi.client.services.OOCSICall
-
wait until either the timeout has passed or at least one response has been recorded
- WHITE - nl.tue.id.oocsi.client.data.OOCSIDevice.LightSpectrum
- window - nl.tue.id.oocsi.client.data.OOCSIDevice.BinarySensorType
-
On means open, Off means closed.
- windowLength - Variable in class nl.tue.id.oocsi.client.data.OOCSIVariable
- write(boolean) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- write(char) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- write(double) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- write(long) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
- write(Object) - Method in class nl.tue.id.oocsi.client.data.JSONWriter
All Classes|All Packages