Package org.openmuc.j62056
Interface ModeDListener
public interface ModeDListener
Listener for incoming Mode D messages. The object of that class is registered as a listener through the
Iec21Port.listen(ModeDListener)-
Method Summary
Modifier and TypeMethodDescriptionvoidIs called if an exception is thrown while listening for incoming mode D data messages.voidnewDataMessage(DataMessage dataMessage) Is called if a new data message has been received and successfully parsed.
-
Method Details
-
newDataMessage
Is called if a new data message has been received and successfully parsed.- Parameters:
dataMessage- the data message received
-
exceptionWhileListening
Is called if an exception is thrown while listening for incoming mode D data messages.- Parameters:
e- the exception thrown
-