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 States for posting updates to Channels and
Commands to values for sending- Author:
- Jan N. Klug - Initial contribution
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(@Nullable ChannelHandlerContent content) called to process a given content for this channelvoidcalled 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 (nullresults inUnDefType.UNDEF)
-
send
called to send a command to this channel- Parameters:
command-
-