| Connects to endpoint, communicates with the server, and fires events to
IoHandler s.
Please refer to
NetCat
example.
You should connect to the desired socket address to start communication,
and then events for incoming connections will be sent to the specified
default
IoHandler .
Threads connect to endpoint start automatically when
IoConnector.connect(SocketAddress) is invoked, and stop when all
connection attempts are finished.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 607163 $, $Date: 2007-12-27 20:20:07 -0700 (Thu, 27 Dec 2007) $ |