ConnectFuture future = connector.connect(address);
future.addListener(new IoFutureListener<ConnectFuture>() {
@Override
ublic void operationComplete(ConnectFuture future) {
try
{
if (future.isConnected())
when I connect using the following code to a server it works fine and isConnected
returns me TRUE
. But when server crash and comes up I try it again. Then its not working. Then I need to restart the client as well. Any idea why?