public interface KeepAliveMessageFactory
KeepAliveFilter.| Modifier and Type | Method and Description |
|---|---|
Object |
getRequest(IoSession session) |
Object |
getResponse(IoSession session,
Object request) |
boolean |
isRequest(IoSession session,
Object message) |
boolean |
isResponse(IoSession session,
Object message) |
boolean isRequest(IoSession session, Object message)
session - The current sessionmessage - teh message to checktrue if and only if the specified message is a
keep-alive request message.boolean isResponse(IoSession session, Object message)
session - The current sessionmessage - teh message to checktrue if and only if the specified message is a
keep-alive response message;Object getRequest(IoSession session)
session - The current sessionnull if no request is required.Copyright © 2004–2024 Apache MINA Project. All rights reserved.