Interface ChannelHandler
- All Known Implementing Classes:
org.openhab.core.thing.internal.binding.generic.converter.AbstractTransformingChannelHandler
,ColorChannelHandler
,DimmerChannelHandler
,FixedValueMappingChannelHandler
,GenericChannelHandler
,ImageChannelHandler
,NumberChannelHandler
,PlayerChannelHandler
,RollershutterChannelHandler
@NonNullByDefault
public interface ChannelHandler
The
ChannelHandler
defines the interface for converting received ChannelHandlerContent
to State
s for posting updates to Channel
s and
Command
s to values for sending- Author:
- Jan N. Klug - Initial contribution
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(@Nullable ChannelHandlerContent content) called to process a given content for this channelvoid
called to send a command to this channel
-
Method Details
-
process
called to process a given content for this channel- Parameters:
content
- raw content to process (null
results inUnDefType.UNDEF
)
-
send
called to send a command to this channel- Parameters:
command
-
-