mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Paliwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-906) Chapter 2 of user-guide appears to be missing some code in example
Date Thu, 06 Sep 2012 07:10:07 GMT

    [ 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

View raw message