Package org.activecomponents.udp
Interface IConnectionListener
-
public interface IConnectionListener
Listener for new connections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
peerConnected(Connection connection)
Called when a new connection is established.void
peerDisconnected(Connection connection)
Called when a connection is disconnected.
-
-
-
Method Detail
-
peerConnected
void peerConnected(Connection connection)
Called when a new connection is established.- Parameters:
connection
- The new connection.
-
peerDisconnected
void peerDisconnected(Connection connection)
Called when a connection is disconnected.- Parameters:
connection
- The disconnected connection.
-
-