Class OLEDProcessor
java.lang.Object
org.openremote.agent.protocol.velbus.device.FeatureProcessor
org.openremote.agent.protocol.velbus.device.OLEDProcessor
Covers OLED specific features:
- Memo Text
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.agent.protocol.velbus.device.FeatureProcessor
FeatureProcessor.LedState, FeatureProcessor.PropertyDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected VelbusPacket
getCancelMemoTextPacket
(VelbusDevice device) getPropertyDescriptors
(VelbusDeviceType deviceType) getPropertyWritePackets
(VelbusDevice device, String property, Object value) Asks the processor to generate the packets required to write the requested value to this property.boolean
processReceivedPacket
(VelbusDevice device, VelbusPacket packet) Allows this feature processor to handle the inbound packet.Methods inherited from class org.openremote.agent.protocol.velbus.device.FeatureProcessor
getStatusRequestPackets
-
Constructor Details
-
OLEDProcessor
public OLEDProcessor()
-
-
Method Details
-
getPropertyDescriptors
public List<FeatureProcessor.PropertyDescriptor> getPropertyDescriptors(VelbusDeviceType deviceType) - Specified by:
getPropertyDescriptors
in classFeatureProcessor
-
getPropertyWritePackets
public List<VelbusPacket> getPropertyWritePackets(VelbusDevice device, String property, Object value) Description copied from class:FeatureProcessor
Asks the processor to generate the packets required to write the requested value to this property.Once a processor returns a non null value then no other processors will be asked to handle the write
- Specified by:
getPropertyWritePackets
in classFeatureProcessor
-
processReceivedPacket
Description copied from class:FeatureProcessor
Allows this feature processor to handle the inbound packet. If a processor handles a packet then it should set the packetsVelbusPacket.isHandled()
flag.The processor can prevent other processors from processing the packet by returning true (processors should only do this if they are certain no other processor is interested in the packet).
- Specified by:
processReceivedPacket
in classFeatureProcessor
- Returns:
- whether or not to allow other processors to process the packet.
-
getCancelMemoTextPacket
-