|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeepAlivePolicy | |
---|---|
org.apache.mina.filter.keepalive | IoFilter that provides the ability for connections to remain open when data is not being transferred. |
Uses of KeepAlivePolicy in org.apache.mina.filter.keepalive |
---|
Methods in org.apache.mina.filter.keepalive that return KeepAlivePolicy | |
---|---|
KeepAlivePolicy |
KeepAliveFilter.getPolicy()
|
static KeepAlivePolicy |
KeepAlivePolicy.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KeepAlivePolicy[] |
KeepAlivePolicy.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in org.apache.mina.filter.keepalive with parameters of type KeepAlivePolicy | |
---|---|
void |
KeepAliveFilter.setPolicy(KeepAlivePolicy policy)
|
Constructors in org.apache.mina.filter.keepalive with parameters of type KeepAlivePolicy | |
---|---|
KeepAliveFilter(KeepAliveMessageFactory messageFactory,
KeepAlivePolicy policy)
Creates a new instance with the default timeout values (keepAliveRequestInterval = 60 and keepAliveRequestTimeout = 30). |
|
KeepAliveFilter(KeepAliveMessageFactory messageFactory,
KeepAlivePolicy policy,
int keepAliveRequestInterval,
int keepAliveRequestTimeout)
Creates a new instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |