this.connector.setHandler( new MinaIoHandler( systemEventListener,
handler ) );
ConnectFuture future1 = this.connector.connect( address );
future1.join();
if ( !future1.isConnected() ) {
throw new IllegalStateException( "Unnable to connect to " + address );
}
IoSession session = future1.getSession();