Package org.activecomponents.udp
Interface IConnectionListener
-
public interface IConnectionListenerListener for new connections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpeerConnected(Connection connection)Called when a new connection is established.voidpeerDisconnected(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.
-
-