org.openmuc.j60870.app
public final class ClientApp extends java.lang.Object implements ConnectionEventListener
Constructor and Description |
---|
ClientApp(java.io.BufferedReader is) |
Modifier and Type | Method and Description |
---|---|
void |
connectionClosed(java.io.IOException e)
Invoked when an IOException occurred while listening for incoming ASDUs.
|
static void |
main(java.lang.String[] args) |
void |
newASdu(ASdu aSdu)
Invoked when a new ASDU arrives.
|
public static void main(java.lang.String[] args)
public void newASdu(ASdu aSdu)
ConnectionEventListener
newASdu
in interface ConnectionEventListener
aSdu
- the ASDU that arrived.public void connectionClosed(java.io.IOException e)
ConnectionEventListener
connectionClosed
in interface ConnectionEventListener
e
- the exception that occurred.