You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/02/14 10:16:05 UTC
[jira] Created: (DIRMINA-350) Heartbeat message sending filter.
Heartbeat message sending filter.
---------------------------------
Key: DIRMINA-350
URL: https://issues.apache.org/jira/browse/DIRMINA-350
Project: MINA
Issue Type: New Feature
Components: Filter
Reporter: Trustin Lee
We need a filter that sends a certain message to the remote peer periodically to let the remote peer that the local peer is alive. It is very easy to implement and will be very helpful.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRMINA-350) Heartbeat message sending filter.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488997 ]
Trustin Lee commented on DIRMINA-350:
-------------------------------------
We need to check DIRMINA-354, too.
> Heartbeat message sending filter.
> ---------------------------------
>
> Key: DIRMINA-350
> URL: https://issues.apache.org/jira/browse/DIRMINA-350
> Project: MINA
> Issue Type: New Feature
> Components: Filter
> Reporter: Trustin Lee
> Attachments: HeartbeatIdleFilter.java
>
>
> We need a filter that sends a certain message to the remote peer periodically to let the remote peer that the local peer is alive. It is very easy to implement and will be very helpful.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRMINA-350) Heartbeat message sending filter.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee closed DIRMINA-350.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-M1
Assignee: Trustin Lee
org.apache.mina.filter.keepalive package resolves this issue.
> Heartbeat message sending filter.
> ---------------------------------
>
> Key: DIRMINA-350
> URL: https://issues.apache.org/jira/browse/DIRMINA-350
> Project: MINA
> Issue Type: New Feature
> Components: Filter
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 2.0.0-M1
>
> Attachments: HeartbeatIdleFilter.java
>
>
> We need a filter that sends a certain message to the remote peer periodically to let the remote peer that the local peer is alive. It is very easy to implement and will be very helpful.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRMINA-350) Heartbeat message sending filter.
Posted by "Mark Webb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Webb updated DIRMINA-350:
------------------------------
Attachment: HeartbeatIdleFilter.java
Here is a class that will send a message to the remote client when the session becomes idle. Here is an example of its usage:
ByteBuffer buffer = ByteBuffer.allocate(16);
buffer.put( Charset.defaultCharset().encode("heartbeat") );
buffer.flip();
HeartbeatIdleFilter hbf = new HeartbeatIdleFilter(buffer);
DefaultIoFilterChainBuilder chain = acceptor.getFilterChain();
chain.addLast("heartbeat", hbf);
> Heartbeat message sending filter.
> ---------------------------------
>
> Key: DIRMINA-350
> URL: https://issues.apache.org/jira/browse/DIRMINA-350
> Project: MINA
> Issue Type: New Feature
> Components: Filter
> Reporter: Trustin Lee
> Attachments: HeartbeatIdleFilter.java
>
>
> We need a filter that sends a certain message to the remote peer periodically to let the remote peer that the local peer is alive. It is very easy to implement and will be very helpful.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRMINA-350) Heartbeat message sending filter.
Posted by "Mark Webb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488369 ]
Mark Webb commented on DIRMINA-350:
-----------------------------------
Should the heartbeat be a specified time, or should the heartbeat be sent when the session becomes idle?
> Heartbeat message sending filter.
> ---------------------------------
>
> Key: DIRMINA-350
> URL: https://issues.apache.org/jira/browse/DIRMINA-350
> Project: MINA
> Issue Type: New Feature
> Components: Filter
> Reporter: Trustin Lee
>
> We need a filter that sends a certain message to the remote peer periodically to let the remote peer that the local peer is alive. It is very easy to implement and will be very helpful.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.