IoConnector connector = new VmPipeConnector();
return new MinaEndpoint(uri, this, address, acceptor, connector, null);
}
protected MinaEndpoint createSocketEndpoint(String uri, URI connectUri) {
IoAcceptor acceptor = new SocketAcceptor();
SocketAddress address = new InetSocketAddress(connectUri.getHost(), connectUri.getPort());
IoConnector connector = new SocketConnector();
// TODO customize the config via URI
SocketConnectorConfig config = new SocketConnectorConfig();