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