protected abstract SocketAddress createServerSocketAddress( int port );
public void testSuspendResumeReadWrite() throws Exception
{
ConnectFuture future = connect( port, new ClientIoHandler() );
future.join();
IoSession session = future.getSession();
// We wait for the sessionCreated() event is fired becayse we cannot guarentee that
// it is invoked already.
while( session.getAttribute( "lock" ) == null )