Package org.openhab.core.thing.profiles
Interface ProfileCallback
@NonNullByDefault
public interface ProfileCallback
Gives access to the framework features for continuing the communication flow.
- Author:
 - Simon Kaufmann - Initial contribution
 
- 
Method Summary
Modifier and TypeMethodDescriptionGet the link that this profile is associated with.voidhandleCommand(Command command) Forward the given command to the respective thing handler.voidsendCommand(Command command) Send a command to the framework.voidsendTimeSeries(TimeSeries timeSeries) Send aTimeSeriesupdate to the framework.voidsendUpdate(State state) Send a state update to the framework. 
- 
Method Details
- 
getItemChannelLink
ItemChannelLink getItemChannelLink()Get the link that this profile is associated with.- Returns:
 - The ItemChannelLink
 
 - 
handleCommand
Forward the given command to the respective thing handler.- Parameters:
 command-
 - 
sendCommand
Send a command to the framework.- Parameters:
 command-
 - 
sendUpdate
Send a state update to the framework.- Parameters:
 state-
 - 
sendTimeSeries
Send aTimeSeriesupdate to the framework.- Parameters:
 timeSeries-
 
 -