Package org.apache.mina.filter.keepalive
package org.apache.mina.filter.keepalive
IoFilter that provides the ability for connections to remain open when data is not being transferred.
-
ClassDescriptionAn
IoFilterthat sends a keep-alive request onIoEventType.SESSION_IDLEand sends back the response for the sent keep-alive request.Provides keep-alive messages toKeepAliveFilter.ARuntimeExceptionwhich is thrown when a keep-alive response message was not received within a certain timeout.TellsKeepAliveFilterwhat to do when a keep-alive response message was not received within a certain timeout.