public interface TcpConnectionListener
Modifier and Type | Method | Description |
---|---|---|
void |
connected() |
Called when either the master connected to the outstation or the outstation connected to the
master's listening end point.
|
void |
connecting() |
Called when starting to connect to the master or outstation via TCP as initiating end point.
|
void |
connectingFailed(java.lang.String reason) |
Called when a connection initiation attempt to the remote end point failed.
|
void |
disconnected(java.lang.String reason) |
Called when the TCP connection is closed.
|
void connecting()
void connected()
void disconnected(java.lang.String reason)
reason
- the reason why the connection was closedvoid connectingFailed(java.lang.String reason)
reason
- the reason the connection attempt failed