log.info("Remote login service started on: "+server.getConnectURI()+" clients can connect to: "+server.getConnectURI());
}
private AsynchChannelServer createAsynchChannelServer() throws IOException, URISyntaxException {
SocketSynchChannelFactory factory = new SocketSynchChannelFactory();
SynchChannelServer server = factory.bindSynchChannel(bindURI);
return new SynchToAsynchChannelServerAdapter(server);
}