org.rhq.enterprise.agent
Class ConnectAgentInitializeCallback

java.lang.Object
  extended by org.rhq.enterprise.agent.ConnectAgentInitializeCallback
All Implemented Interfaces:
InitializeCallback

public class ConnectAgentInitializeCallback
extends Object
implements InitializeCallback

This is a InitializeCallback that will send the appropriate "connect agent" message to the server. This is required because an agent must never send any message to a server without first ensuring it sends this "connect agent" message successfully.

Author:
John Mazzitelli

Constructor Summary
ConnectAgentInitializeCallback(AgentMain agent)
           
 
Method Summary
 boolean sendingInitialCommand(RemoteCommunicator comm, Command command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectAgentInitializeCallback

public ConnectAgentInitializeCallback(AgentMain agent)
Method Detail

sendingInitialCommand

public boolean sendingInitialCommand(RemoteCommunicator comm,
                                     Command command)
                              throws Throwable
Specified by:
sendingInitialCommand in interface InitializeCallback
Throws:
Throwable


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.