org.eclipse.hyades.internal.execution.local.common
Class AgentConfigurationCommand
java.lang.Object
org.eclipse.hyades.internal.execution.local.common.CommandElement
org.eclipse.hyades.internal.execution.local.common.AgentConfigurationCommand
- All Implemented Interfaces:
- Constants
public class AgentConfigurationCommand
- extends CommandElement
- implements Constants
| Fields inherited from interface org.eclipse.hyades.internal.execution.local.common.Constants |
CTL_PORT_NUM_CLIENT, CTL_PORT_NUM_SERVER, DATA_PORT_NUM_CLIENT, DEFAULT_TIMEOUT, MAX_COMMAND_LINE_LENGTH, MAX_DATA_LENGTH, MAX_MESSAGE_LENGTH, MESSAGE_HEADER_LENGTH, RA_ACKNOWLEDGEMENT_MESSAGE, RA_AGENT_ACTIVE, RA_AGENT_ATTACHED, RA_AGENT_CONFIGURATION, RA_AGENT_CONTROLLER_AVAILABLE, RA_AGENT_CONTROLLER_UNAVAILABLE, RA_AGENT_DETACHED, RA_AGENT_DETAILS, RA_AGENT_INACTIVE, RA_AGENT_LIST, RA_AGENT_QUERY_STATE, RA_AGENT_REQUEST_MONITOR, RA_AGENT_REQUEST_MONITOR_PORT, RA_AGENT_SCOPING_INFORMATION, RA_ATTACH_FAILED, RA_ATTACH_SUCCESSFUL, RA_ATTACH_TO_AGENT, RA_AUTHENTICATE, RA_AUTHENTICATION_FAILED, RA_AUTHENTICATION_SUCCESSFUL, RA_BINARY_CUSTOM_COMMAND, RA_CONSOLE_INFO, RA_CONTROL_MESSAGE, RA_CONTROLLER_MONITOR_PEER, RA_CONTROLLER_REQUEST_MONITOR, RA_CONTROLLER_REQUEST_MONITOR_PORT, RA_CUSTOM_COMMAND, RA_DELETE_FILE, RA_DETACH_FROM_AGENT, RA_ERROR_STRING, RA_GET_FILE, RA_GET_PROPERTY_LIST, RA_KILL_PROCESS, RA_LAUNCH_PROCESS, RA_LOCAL_AGENT_ACTIVE, RA_MAGIC, RA_MAGIC_0, RA_MAGIC_1, RA_MAGIC_2, RA_MAGIC_3, RA_MANAGE_FILE, RA_MASTER_ADDRESS, RA_PEER_UNREACHABLE, RA_PIPE_NAMESPACE, RA_PIPE_NAMESPACE_WIN32, RA_PROCESS_EXITED, RA_PROCESS_LAUNCHED, RA_PROCESS_LIST, RA_PROPERTY_LIST, RA_PUT_FILE, RA_QUERY_AGENT_DETAILS, RA_QUERY_AGENT_LIST, RA_QUERY_PROCESS_LIST, RA_REGISTER_AGENT_NOTIFICATION, RA_RESOURCE_LOCATION, RA_SERVER_SECURITY_REQUIREMENTS, RA_SET_NAME_VALUE_PAIR, RA_SHUTDOWN, RA_START_MONITORING_AGENT_LOCAL, RA_START_MONITORING_AGENT_REMOTE, RA_STOP_MONITORING_AGENT, RA_VERSION, sizeofByte, sizeofChar, sizeofLong, sizeofShort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentConfigurationCommand
public AgentConfigurationCommand()
getSize
public int getSize()
- Description copied from class:
CommandElement
- Return the size of this command in number of bytes
- Overrides:
getSize in class CommandElement
- Returns:
- size
readFromBuffer
public int readFromBuffer(byte[] buffer,
int offset)
- Description copied from class:
CommandElement
- Construct the command by reading the buffer
- Overrides:
readFromBuffer in class CommandElement
- Parameters:
buffer - Buffer containing serialized commandoffset - Start position for reading
- Returns:
writeToBuffer
public int writeToBuffer(byte[] buffer,
int offset)
- Description copied from class:
CommandElement
- Serialize the command into the byte buffer
- Overrides:
writeToBuffer in class CommandElement
- Parameters:
buffer - Buffer containing serialized commandoffset - Start position for reading
- Returns:
clear
public void clear()
getConfigurations
public AgentConfigurationEntry[] getConfigurations()
addEntry
public void addEntry(AgentConfigurationEntry entry)
removeEntry
public boolean removeEntry(AgentConfigurationEntry entry)
getAgentName
public RAString getAgentName()
setAgentName
public void setAgentName(RAString agentName)
getAgentType
public RAString getAgentType()
setAgentType
public void setAgentType(RAString agentType)
getAgentUUID
public RAString getAgentUUID()
setAgentUUID
public void setAgentUUID(RAString agentUUID)
getNodeUUID
public RAString getNodeUUID()
setNodeUUID
public void setNodeUUID(RAString nodeUUID)
getProcessId
public long getProcessId()
setProcessId
public void setProcessId(long processId)
getProcessUUID
public RAString getProcessUUID()
setProcessUUID
public void setProcessUUID(RAString processUUID)