Package com.vmware.vim.binding.vim.event

Examples of com.vmware.vim.binding.vim.event.VmEvent


       * @return true, if event for this vm
       */
      @Override
      public boolean eventHandler(VcEventType type, Event e) throws Exception {
         AuAssert.check(eventLatch.getCount() <= 1);
         VmEvent event = (VmEvent)e;
         AuAssert.check(event.getVm() != null);
         /* If VmEvent is for this VM, release waiters. */
         if (VcVirtualMachineImpl.this.getMoRef().equals(event.getVm().getVm())) {
            eventCallback();
            eventLatch.countDown();
            logger.debug(msg("VmEventHandler: match"));
            return true;
         }
View Full Code Here

TOP

Related Classes of com.vmware.vim.binding.vim.event.VmEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.