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