Skip to content

Instantly share code, notes, and snippets.

@thesurlydev
Created January 12, 2012 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thesurlydev/1602928 to your computer and use it in GitHub Desktop.
Save thesurlydev/1602928 to your computer and use it in GitHub Desktop.
getClient
Settings s = ImmutableSettings.settingsBuilder()
.put(this.settings)
.build();
TransportClient client = new TransportClient(s);
client.addTransportAddress(new InetSocketTransportAddress(
this.clientTransportHost,
this.clientTransportPort)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment