org.openmuc.j60870
public interface ConnectionEventListener
Connection.startDataTransfer(ConnectionEventListener)
or
Connection.waitForStartDT(int, ConnectionEventListener)
method. Incoming ASDUs are queued so that
newASdu(ASdu)
is never called simultaneously for the same connection.Modifier and Type | Method and Description |
---|---|
void |
connectionClosed(java.io.IOException e)
Invoked when an IOException occurred while listening for incoming ASDUs.
|
void |
newASdu(ASdu aSdu)
Invoked when a new ASDU arrives.
|
void newASdu(ASdu aSdu)
aSdu
- the ASDU that arrived.void connectionClosed(java.io.IOException e)
e
- the exception that occurred.