public interface KeepAliveMessageFactory
KeepAliveFilter
.Modifier and Type | Method and Description |
---|---|
Object |
getRequest(IoSession session)
Returns a (new) keep-alive request message.
|
Object |
getResponse(IoSession session,
Object request)
Returns a (new) response message for the specified keep-alive request.
|
boolean |
isRequest(IoSession session,
Object message)
Returns true if and only if the specified message is a
keep-alive request message.
|
boolean |
isResponse(IoSession session,
Object message)
Returns true if and only if the specified message is a
keep-alive response message;
|
boolean isRequest(IoSession session, Object message)
boolean isResponse(IoSession session, Object message)
Object getRequest(IoSession session)
Copyright © 2004–2014 Apache MINA Project. All rights reserved.