public void sendCommandAsync(
     HypervisorHostEndPoint host,
     final Command command,
     final AsyncCompletionCallback<Answer> callback) {
   // new MockRpcCallBack(host.getHostId(), command, callback);
   MockRpcCallBack run = ComponentContext.inject(MockRpcCallBack.class);
   run.setCallback(callback);
   run.setCmd(command);
   run.setHostId(host.getId());
   executor.schedule(run, 10, TimeUnit.SECONDS);
 }
 @Override
 public Answer sendCommand(HypervisorHostEndPoint host, Command command) {
   Answer answer;
   try {
     answer = agentMgr.send(host.getId(), command);
     return answer;
   } catch (AgentUnavailableException e) {
     return null;
   } catch (OperationTimedoutException e) {
     return null;
   }
 }