Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

param comment is wrong #17

Open
xuyanjun opened this issue Aug 6, 2012 · 1 comment
Open

param comment is wrong #17

xuyanjun opened this issue Aug 6, 2012 · 1 comment

Comments

@xuyanjun
Copy link

xuyanjun commented Aug 6, 2012

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.

@xuyanjun
Copy link
Author

xuyanjun commented Aug 6, 2012

boolean com.cloud.agent.StartupCommandProcessor.processInitialConnect(StartupCommand[] cmd) throws ConnectionException

This method is called by AgentManager when an agent made a connection to this server before the AgentManager knows about this agent

Parameters:
agentId id of the agent
cmd command sent by the agent to the server on startup.
Returns:
true if handled by the creator
Throws:
ConnectionException - if host has problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant