You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "jinkai mao (Created) (JIRA)" <ji...@apache.org> on 2012/02/10 13:57:00 UTC
[jira] [Created] (DIRMINA-887) mutil bind localAddress
mutil bind localAddress
-----------------------
Key: DIRMINA-887
URL: https://issues.apache.org/jira/browse/DIRMINA-887
Project: MINA
Issue Type: Bug
Components: Core
Affects Versions: 2.0.4
Reporter: jinkai mao
Fix For: 2.0.5
class : org.apache.mina.core.polling.AbstractPollingIoAcceptor
Method:private void processHandles(Iterator<H> handles) throws Exception
/**
* This method will process new sessions for the Worker class. All
* keys that have had their status updates as per the Selector.selectedKeys()
* method will be processed here. Only keys that are ready to accept
* connections are handled here.
* <p/>
* Session objects are created by making new instances of SocketSessionImpl
* and passing the session object to the SocketIoProcessor class.
*/
@SuppressWarnings("unchecked")
private void processHandles(Iterator<H> handles) throws Exception {
while (handles.hasNext()) {
H handle = handles.next();
handles.remove();
// Associates a new created connection to a processor,
// and get back a session
S session = accept(processor, handle);
if (session == null) {
break;
}
initSession(session, null, null);
// add the session to the SocketIoProcessor
session.getProcessor().add(session);
}
}
Question: break? continue?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DIRMINA-887) mutil bind localAddress
Posted by "jinkai mao (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jinkai mao closed DIRMINA-887.
------------------------------
OK
> mutil bind localAddress
> -----------------------
>
> Key: DIRMINA-887
> URL: https://issues.apache.org/jira/browse/DIRMINA-887
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.4
> Reporter: jinkai mao
> Labels: bind, localAddress, mutil
> Fix For: 2.0.5
>
>
> class : org.apache.mina.core.polling.AbstractPollingIoAcceptor
> Method:private void processHandles(Iterator<H> handles) throws Exception
>
> /**
> * This method will process new sessions for the Worker class. All
> * keys that have had their status updates as per the Selector.selectedKeys()
> * method will be processed here. Only keys that are ready to accept
> * connections are handled here.
> * <p/>
> * Session objects are created by making new instances of SocketSessionImpl
> * and passing the session object to the SocketIoProcessor class.
> */
> @SuppressWarnings("unchecked")
> private void processHandles(Iterator<H> handles) throws Exception {
> while (handles.hasNext()) {
> H handle = handles.next();
> handles.remove();
> // Associates a new created connection to a processor,
> // and get back a session
> S session = accept(processor, handle);
>
> if (session == null) {
> break;
> }
> initSession(session, null, null);
> // add the session to the SocketIoProcessor
> session.getProcessor().add(session);
> }
> }
>
> Question: break? continue?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DIRMINA-887) mutil bind localAddress
Posted by "Emmanuel Lecharny (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRMINA-887.
---------------------------------------
Resolution: Fixed
Fixed with http://svn.apache.org/viewvc?rev=1242756&view=rev
> mutil bind localAddress
> -----------------------
>
> Key: DIRMINA-887
> URL: https://issues.apache.org/jira/browse/DIRMINA-887
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.4
> Reporter: jinkai mao
> Labels: bind, localAddress, mutil
> Fix For: 2.0.5
>
>
> class : org.apache.mina.core.polling.AbstractPollingIoAcceptor
> Method:private void processHandles(Iterator<H> handles) throws Exception
>
> /**
> * This method will process new sessions for the Worker class. All
> * keys that have had their status updates as per the Selector.selectedKeys()
> * method will be processed here. Only keys that are ready to accept
> * connections are handled here.
> * <p/>
> * Session objects are created by making new instances of SocketSessionImpl
> * and passing the session object to the SocketIoProcessor class.
> */
> @SuppressWarnings("unchecked")
> private void processHandles(Iterator<H> handles) throws Exception {
> while (handles.hasNext()) {
> H handle = handles.next();
> handles.remove();
> // Associates a new created connection to a processor,
> // and get back a session
> S session = accept(processor, handle);
>
> if (session == null) {
> break;
> }
> initSession(session, null, null);
> // add the session to the SocketIoProcessor
> session.getProcessor().add(session);
> }
> }
>
> Question: break? continue?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira