org.rhq.core.clientapi.server.core
Class ConnectAgentRequest

java.lang.Object
  extended by org.rhq.core.clientapi.server.core.ConnectAgentRequest
All Implemented Interfaces:
Serializable

public class ConnectAgentRequest
extends Object
implements Serializable

The request for an agent to connect to a server.

See Also:
Serialized Form

Constructor Summary
ConnectAgentRequest(String agentName, AgentVersion agentVersion)
           
 
Method Summary
 String getAgentName()
          The name of the agent that is requesting to be connected.
 AgentVersion getAgentVersion()
          The version information of the agent asking to be connected.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectAgentRequest

public ConnectAgentRequest(String agentName,
                           AgentVersion agentVersion)
Method Detail

getAgentName

public String getAgentName()
The name of the agent that is requesting to be connected. This is not necessarily the agent's hostname or IP address, it is the string assigned to the agent that makes it unique among all other agents in the system.

Returns:
agent name

getAgentVersion

public AgentVersion getAgentVersion()
The version information of the agent asking to be connected.

Returns:
agent version

toString

public String toString()
Overrides:
toString in class Object


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