Package net.rudp
Interface ReliableSocketStateListener
-
public interface ReliableSocketStateListenerThe listener interface for receiving socket events. The class that is interested in processing a socket event implements this interface.- Author:
- Adrian Granados
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnectionClosed(ReliableSocket sock)Invoked when the connection is closed.voidconnectionFailure(ReliableSocket sock)Invoked when the (established) connection fails.voidconnectionOpened(ReliableSocket sock)Invoked when the connection is opened.voidconnectionRefused(ReliableSocket sock)Invoked when the attempt to establish a connection is refused.voidconnectionReset(ReliableSocket sock)Invoked when the connection is reset.
-
-
-
Method Detail
-
connectionOpened
void connectionOpened(ReliableSocket sock)
Invoked when the connection is opened.
-
connectionRefused
void connectionRefused(ReliableSocket sock)
Invoked when the attempt to establish a connection is refused.
-
connectionClosed
void connectionClosed(ReliableSocket sock)
Invoked when the connection is closed.
-
connectionFailure
void connectionFailure(ReliableSocket sock)
Invoked when the (established) connection fails.
-
connectionReset
void connectionReset(ReliableSocket sock)
Invoked when the connection is reset.
-
-