public int getVmid() { return (lvm != null) ? lvm.vmid() : 0; }
public static String getConnectionName(LocalVirtualMachine lvm) { return Integer.toString(lvm.vmid()); }
private static String getCacheKey(LocalVirtualMachine lvm) { return Integer.toString(lvm.vmid()); }
private ProxyClient(LocalVirtualMachine lvm) throws IOException { this.lvm = lvm; this.connectionName = getConnectionName(lvm); this.displayName = "pid: " + lvm.vmid() + " " + lvm.displayName(); }