use of edu.umass.cs.gnsclient.console.commands.GuidUse in project GNS by MobilityFirst.
the class ConsoleModule method useGnsDefaults.
/**
* Connect and try to find default GNSProtocol.GUID.toString() if defined.
*/
public void useGnsDefaults() {
GuidEntry guid = KeyPairUtils.getDefaultGuidEntry(getGnsInstance());
if (guid == null) {
return;
}
try {
printString("Looking for default GUID: " + guid + "\n");
new GuidUse(this).parse(guid.getEntityName());
} catch (Exception e) {
printString("Couldn't connect default GUID " + guid);
}
}
Aggregations