Package org.openmuc.jdlms
Interface DlmsEventListener
-
- All Superinterfaces:
java.util.EventListener
public interface DlmsEventListener extends java.util.EventListener
The listener interface for receiving events from a remote smart meter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connectionClosed(java.io.IOException e)
Invoked when an IOException occurred while listening for incoming messages.void
onEventReceived(EventNotification event)
Invoked when the remote station has sent an event.
-
-
-
Method Detail
-
onEventReceived
void onEventReceived(EventNotification event)
Invoked when the remote station has sent an event.- Parameters:
event
- Data of the event
-
connectionClosed
void connectionClosed(java.io.IOException e)
Invoked when an IOException occurred while listening for incoming messages. An IOException implies that the ClientConnection that feeds this listener was automatically closed and can no longer be used to send commands or receive messages.- Parameters:
e
- the exception that occurred.
-
-