public static ClientInterface create ( HostMessenger messenger , CatalogContext context , ReplicationRole replicationRole , Cartographer cartographer , InetAddress clientIntf , int clientPort , InetAddress adminIntf , int adminPort , SslContext SslContext ) throws Exception { /* * Construct the runnables so they have access to the list of connections */ final ClientInterface ci = new ClientInterface ( clientIntf , clientPort , adminIntf , adminPort , context , messenger , replicationRole , cartographer , SslContext ) ; return ci ; }
Static factory method to easily create a ClientInterface with the default settings .