Java Client Instantiation
From OpenIndivo Documentation Wiki
Instantiating a client begins with creating a map of configuration values. These values are passed to the client constructor method.
[edit]
Code Examples
[edit]
Instantiate a Client
The SERVER_LOCATION value should reflect the URL where you deployed your Indivo Server.
Map map = new HashMap();
map.put(TalkClient.CERT_TRUST_KEY, TalkClient.ALL_CERTS_ACCEPTED);
map.put(TalkClient.SERVER_LOCATION, "https://path.to.server/indivo/IndivoServlet");
TalkClient client = new TalkClientImpl(map);

