Package com.cloud.agent.api

Examples of com.cloud.agent.api.PingCommand


        return answer;
    }

    @Override
    public PingCommand getCurrentStatus(long id) {
        return new PingCommand(_type, id);
    }
View Full Code Here


    return _name;
  }
 
  @Override
    public PingCommand getCurrentStatus(final long id) {
    return new PingCommand(Host.Type.TrafficMonitor, id);
    }
View Full Code Here

        return true;
    }

    @Override
    public PingCommand getCurrentStatus(final long id) {
        return new PingCommand(Host.Type.ExternalFirewall, id);
    }
View Full Code Here

    public void disconnected() {
    }

    @Override
    public PingCommand getCurrentStatus(long id) {
        return new PingCommand(Type.ConsoleProxy, id);
    }
View Full Code Here

        return answer;
    }

    @Override
    public PingCommand getCurrentStatus(long id) {
        return new PingCommand(_type, id);
    }
View Full Code Here

    public void disconnected() {
    }

    @Override
    public PingCommand getCurrentStatus(long id) {
        return new PingCommand(Type.ConsoleProxy, id);
    }
View Full Code Here

        public synchronized void run() {
            try {
                ServerResource resource = _resource;

                if (resource != null) {
                    PingCommand cmd = resource.getCurrentStatus(_id);
                    if (cmd == null) {
                        s_logger.warn("Unable to get current status on " + _id);
                        _mgr.disconnectWithInvestigation(DirectAgentAttache.this, Event.AgentDisconnected);
                        return;
                    }
View Full Code Here

    }

    @Override
    public final PingCommand getCurrentStatus(final long id) {
      // TODO, need to report VM states on host
        PingCommand pingCmd = new PingRoutingCommand(getType(), id, null, null);

        if (s_logger.isDebugEnabled()) {
            s_logger.debug("Ping host " + _name + " (IP " + _agentIp + ")");
        }
View Full Code Here

    return _name;
  }
 
  @Override
    public PingCommand getCurrentStatus(final long id) {
    return new PingCommand(Host.Type.ExternalLoadBalancer, id);
    }
View Full Code Here

        return true;
    }

    @Override
    public PingCommand getCurrentStatus(final long id) {
        return new PingCommand(Host.Type.ExternalFirewall, id);
    }
View Full Code Here

TOP

Related Classes of com.cloud.agent.api.PingCommand

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.