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