You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2012/09/05 19:54:08 UTC
[jira] [Created] (DIRMINA-906) Chapter 2 of user-guide appears to
be missing some code in example
Gus Heck created DIRMINA-906:
--------------------------------
Summary: Chapter 2 of user-guide appears to be missing some code in example
Key: DIRMINA-906
URL: https://issues.apache.org/jira/browse/DIRMINA-906
Project: MINA
Issue Type: Bug
Components: Web Site / Documentation
Reporter: Gus Heck
On http://mina.apache.org/sample-tcp-server.html the text:
"With the NioSocketAcceptor class in place, we can go ahead and define the handler class and bind the NioSocketAcceptor to a port."
is not followed by a matching code example. Subsequent example code lacks the code for defining the socket port. In particular near the end of the page there is text that says:
"As you see, there is a call to acceptor.setLocalAddress( new InetSocketAddress(PORT) );. This method defines what host and port this server will listen on. "
However, the example code immediately prior does not contain that code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-906) Chapter 2 of user-guide appears to
be missing some code in example
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452099#comment-13452099 ]
Emmanuel Lecharny commented on DIRMINA-906:
-------------------------------------------
Gus is plain right.
This is something I missed when I created this page. It has been fixed, and will be replicated on mirrors in the next 24 hours.
Thanks for the feedback !
> Chapter 2 of user-guide appears to be missing some code in example
> ------------------------------------------------------------------
>
> Key: DIRMINA-906
> URL: https://issues.apache.org/jira/browse/DIRMINA-906
> Project: MINA
> Issue Type: Bug
> Components: Web Site / Documentation
> Reporter: Gus Heck
>
> On http://mina.apache.org/sample-tcp-server.html the text:
> "With the NioSocketAcceptor class in place, we can go ahead and define the handler class and bind the NioSocketAcceptor to a port."
> is not followed by a matching code example. Subsequent example code lacks the code for defining the socket port. In particular near the end of the page there is text that says:
> "As you see, there is a call to acceptor.setLocalAddress( new InetSocketAddress(PORT) );. This method defines what host and port this server will listen on. "
> However, the example code immediately prior does not contain that code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DIRMINA-906) Chapter 2 of user-guide appears to
be missing some code in example
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRMINA-906.
---------------------------------------
Resolution: Fixed
Updated the doco
> Chapter 2 of user-guide appears to be missing some code in example
> ------------------------------------------------------------------
>
> Key: DIRMINA-906
> URL: https://issues.apache.org/jira/browse/DIRMINA-906
> Project: MINA
> Issue Type: Bug
> Components: Web Site / Documentation
> Reporter: Gus Heck
>
> On http://mina.apache.org/sample-tcp-server.html the text:
> "With the NioSocketAcceptor class in place, we can go ahead and define the handler class and bind the NioSocketAcceptor to a port."
> is not followed by a matching code example. Subsequent example code lacks the code for defining the socket port. In particular near the end of the page there is text that says:
> "As you see, there is a call to acceptor.setLocalAddress( new InetSocketAddress(PORT) );. This method defines what host and port this server will listen on. "
> However, the example code immediately prior does not contain that code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-906) Chapter 2 of user-guide appears to
be missing some code in example
Posted by "Ashish Paliwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449481#comment-13449481 ]
Ashish Paliwal commented on DIRMINA-906:
----------------------------------------
IMHO, the statement implies the logical sequence to be followed, and that's what it does (not necessarily the next code snipper). We configure the handler class and thereafter at the end bind to the port.
> Chapter 2 of user-guide appears to be missing some code in example
> ------------------------------------------------------------------
>
> Key: DIRMINA-906
> URL: https://issues.apache.org/jira/browse/DIRMINA-906
> Project: MINA
> Issue Type: Bug
> Components: Web Site / Documentation
> Reporter: Gus Heck
>
> On http://mina.apache.org/sample-tcp-server.html the text:
> "With the NioSocketAcceptor class in place, we can go ahead and define the handler class and bind the NioSocketAcceptor to a port."
> is not followed by a matching code example. Subsequent example code lacks the code for defining the socket port. In particular near the end of the page there is text that says:
> "As you see, there is a call to acceptor.setLocalAddress( new InetSocketAddress(PORT) );. This method defines what host and port this server will listen on. "
> However, the example code immediately prior does not contain that code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-906) Chapter 2 of user-guide appears to
be missing some code in example
Posted by "Gus Heck (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452083#comment-13452083 ]
Gus Heck commented on DIRMINA-906:
----------------------------------
Except that this doesn't show up in any of the code snippets and at the bottom it says AS YOU CAN SEE, but the code we are supposed to see doesn't exist. Something's not right.
> Chapter 2 of user-guide appears to be missing some code in example
> ------------------------------------------------------------------
>
> Key: DIRMINA-906
> URL: https://issues.apache.org/jira/browse/DIRMINA-906
> Project: MINA
> Issue Type: Bug
> Components: Web Site / Documentation
> Reporter: Gus Heck
>
> On http://mina.apache.org/sample-tcp-server.html the text:
> "With the NioSocketAcceptor class in place, we can go ahead and define the handler class and bind the NioSocketAcceptor to a port."
> is not followed by a matching code example. Subsequent example code lacks the code for defining the socket port. In particular near the end of the page there is text that says:
> "As you see, there is a call to acceptor.setLocalAddress( new InetSocketAddress(PORT) );. This method defines what host and port this server will listen on. "
> However, the example code immediately prior does not contain that code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira