Package org.openmuc.j62056
Interface ModeDListener
-
public interface ModeDListenerListener for incoming Mode D messages. The object of that class is registered as a listener through theIec21Port.listen(ModeDListener)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexceptionWhileListening(java.lang.Exception e)Is 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 Detail
-
newDataMessage
void newDataMessage(DataMessage dataMessage)
Is called if a new data message has been received and successfully parsed.- Parameters:
dataMessage- the data message received
-
exceptionWhileListening
void exceptionWhileListening(java.lang.Exception e)
Is called if an exception is thrown while listening for incoming mode D data messages.- Parameters:
e- the exception thrown
-
-