connection.addDirectoryNode(new DirectoryNodeLocalImpl());
// setup Client
NioSocketConnector clientConnector = new NioSocketConnector();
clientConnector.setHandler( new MinaIoHandler( SystemEventListenerFactory.getSystemEventListener() ) );
GenericNodeConnector minaClient = new MinaNodeConnector( "client 1",
clientConnector,
address,
SystemEventListenerFactory.getSystemEventListener() );
connection.addNodeConnector(minaClient);
node = connection.getExecutionNode(null);