You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Gary (JIRA)" <ji...@apache.org> on 2009/03/10 23:55:50 UTC
[jira] Created: (DIRMINA-669) SocketConnector and SocketAcceptor.
Add parameter in constructor to set if the thread in the executor is a
daemon thread.
SocketConnector and SocketAcceptor. Add parameter in constructor to set if the thread in the executor is a daemon thread.
-------------------------------------------------------------------------------------------------------------------------
Key: DIRMINA-669
URL: https://issues.apache.org/jira/browse/DIRMINA-669
Project: MINA
Issue Type: Improvement
Components: Core
Affects Versions: 1.1.7
Environment: Fedora Core 10. JDK1.6
Reporter: Gary
The user, sometimes, needs to use a daemon thread for the executor that the SocketConnector and SocketAcceptor use. It would be good if a new constructor with a parameter of boolean would exist to determine if the thread to be created will be a daemon thread or not. The NewThreadExecutor class will need changing too to support this feature. This would work better than implementing an Executor just to set the daemon flag to true in the executor thread.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRMINA-669) SocketConnector and SocketAcceptor.
Add parameter in constructor to set if the thread in the executor is a
daemon thread.
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRMINA-669.
---------------------------------------
Resolution: Won't Fix
Please switch to MINA 2.0 which is Java 5 compatible, and use Executor for that purpose.
MINA 1.1.7 is Java 1.4 compatible, and does not support the Executor class.
> SocketConnector and SocketAcceptor. Add parameter in constructor to set if the thread in the executor is a daemon thread.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-669
> URL: https://issues.apache.org/jira/browse/DIRMINA-669
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.1.7
> Environment: Fedora Core 10. JDK1.6
> Reporter: Gary
>
> The user, sometimes, needs to use a daemon thread for the executor that the SocketConnector and SocketAcceptor use. It would be good if a new constructor with a parameter of boolean would exist to determine if the thread to be created will be a daemon thread or not. The NewThreadExecutor class will need changing too to support this feature. This would work better than implementing an Executor just to set the daemon flag to true in the executor thread.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRMINA-669) SocketConnector and SocketAcceptor.
Add parameter in constructor to set if the thread in the executor is a
daemon thread.
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRMINA-669.
-------------------------------------
> SocketConnector and SocketAcceptor. Add parameter in constructor to set if the thread in the executor is a daemon thread.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-669
> URL: https://issues.apache.org/jira/browse/DIRMINA-669
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.1.7
> Environment: Fedora Core 10. JDK1.6
> Reporter: Gary
>
> The user, sometimes, needs to use a daemon thread for the executor that the SocketConnector and SocketAcceptor use. It would be good if a new constructor with a parameter of boolean would exist to determine if the thread to be created will be a daemon thread or not. The NewThreadExecutor class will need changing too to support this feature. This would work better than implementing an Executor just to set the daemon flag to true in the executor thread.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.