use of org.web3j.quorum.UnixDomainSocketFactory in project quorum-acceptance-tests by ConsenSys.
the class RawContractService method getIPCHttpClient.
private OkHttpClient getIPCHttpClient(String thirdPartyURL) {
if (ipcClients.containsKey(thirdPartyURL)) {
return ipcClients.get(thirdPartyURL);
}
OkHttpClient client = new OkHttpClient.Builder().socketFactory(new UnixDomainSocketFactory(new File(thirdPartyURL))).build();
ipcClients.put(thirdPartyURL, client);
return client;
}
Aggregations