Please refer to EchoServer example.
You should bind to the desired socket address to accept incoming connections, and then events for incoming connections will be sent to the specified default {@link IoHandler}.
Threads accept incoming connections start automatically when {@link #bind(SocketAddress,IoHandler)} is invoked, and stop when alladdresses are unbound. @author The Apache Directory Project (mina-dev@directory.apache.org) @version $Rev: 555855 $, $Date: 2007-07-13 12:19:00 +0900 (Fri, 13 Jul 2007) $
Please refer to EchoServer example.
You should bind to the desired socket address to accept incoming connections, and then events for incoming connections will be sent to the specified default {@link IoHandler}.
Threads accept incoming connections start automatically when {@link #bind()} is invoked, and stop when {@link #unbind()} is invoked. @author The Apache MINA Project (dev@mina.apache.org) @version $Rev: 751415 $, $Date: 2009-03-08 14:17:11 +0100 (Sun, 08 Mar 2009) $
Please refer to EchoServer example.
You should bind to the desired socket address to accept incoming connections, and then events for incoming connections will be sent to the specified default {@link IoHandler}.
Threads accept incoming connections start automatically when {@link #bind(SocketAddress,IoHandler)} is invoked, and stop when alladdresses are unbound. @author The Apache Directory Project (dev@directory.apache.org) @version $Rev: 357871 $, $Date: 2005-12-20 10:56:40 +0900 (Tue, 20 Dec 2005) $
|
|
|
|