public interface WMBusListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
discardedBytes(byte[] bytes)
Callback, when noisy data has been discarded.
|
void |
newMessage(WMBusMessage message)
Received a new wireless M-Bus message.
|
void |
stoppedListening(java.io.IOException cause)
Callback, if the connection has been interrupted.
|
void newMessage(WMBusMessage message)
message
- the message.void discardedBytes(byte[] bytes)
bytes
- the data which has been discarded.void stoppedListening(java.io.IOException cause)
cause
- the cause of the interruption.