- All Superinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LostConnectionListener extends GloballyAttachableListenerThis listener listens to lost connections. This listener is called, when the websocket loses its connection. Don't panic! It's totally normal for the websocket to occasionally lose the connection. In most cases it's possible to resume the session without missing any events!
void onLostConnection(LostConnectionEvent event)This method is called every time a connection is lost.
event- The event.