接口 IdleSensible
-
- 所有已知子接口:
Client
,ExchangeClient
,ExchangeServer
,RemotingServer
- 所有已知实现类:
AbstractClient
,AbstractServer
,ClientDelegate
,ExchangeServerDelegate
,HeaderExchangeClient
,HeaderExchangeServer
,ServerDelegate
public interface IdleSensible
Indicate whether the implementation (for both server and client) has the ability to sense and handle idle connection. If the server has the ability to handle idle connection, it should close the connection when it happens, and if the client has the ability to handle idle connection, it should send the heartbeat to the server.
-
-
方法概要
所有方法 实例方法 默认方法 修饰符和类型 方法 说明 default boolean
canHandleIdle()
Whether the implementation can sense and handle the idle connection.
-