org.rhq.core.clientapi.server.core
Class ConnectAgentRequest
java.lang.Object
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
ConnectAgentRequest
public ConnectAgentRequest(String agentName,
AgentVersion agentVersion)
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.