Package com.tinkerforge
Interface BrickletRS485.FrameReadableListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletRS485
public static interface BrickletRS485.FrameReadableListener extends DeviceListener
This listener is called if at least one frame of data is readable. The frame size is configured withBrickletRS485.setFrameReadableCallbackConfiguration(int)
. The frame count parameter is the number of frames that can be read. This listener is triggered only once untilBrickletRS485.read(int)
is called. This means, that if you have configured a frame size of X bytes, you can read exactly X bytes using theBrickletRS485.read(int)
function, every time the listener triggers without checking the frame count parameter. .. versionadded:: 2.0.5$nbsp;(Plugin)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
frameReadable(int frameCount)
-