You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2012/09/10 17:58:07 UTC

[jira] [Resolved] (DIRMINA-906) Chapter 2 of user-guide appears to be missing some code in example

     [ 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