Package cl.obcom.desktopfx.netserver
Interface ConnectionListener
public interface ConnectionListener
Called when the state of a channel connection has changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectionStateChanged
(NetServerChannel channel, boolean connected) Called when the state of a channel connection has changed.
-
Method Details
-
connectionStateChanged
Called when the state of a channel connection has changed.- Parameters:
channel
- the channel whose connection state has changed.connected
-true
if channel is connected,false
otherwise.- Throws:
NullPointerException
- ifchannel
isnull
.Exception
- if an unexpected error occurs.
-