void com.cloud.agent.Listener.processConnect(HostVO host, StartupCommand cmd, boolean forRebalance) throws ConnectionException
This method is called by AgentManager when an agent made a connection to this server if the listener has been registered for host events.
Parameters:
cmd command sent by the agent to the server on startup.
forRebalance TODO
agentId id of the agent
host
Throws:
ConnectionException - if host has problems and needs to put into maintenance state.
void com.cloud.agent.Listener.processConnect(HostVO host, StartupCommand cmd, boolean forRebalance) throws ConnectionException
This method is called by AgentManager when an agent made a connection to this server if the listener has been registered for host events.
Parameters:
cmd command sent by the agent to the server on startup.
forRebalance TODO
agentId id of the agent
host
Throws:
ConnectionException - if host has problems and needs to put into maintenance state.