TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.hyades.internal.execution.local.common
Class CustomCommand

java.lang.Object
  extended by org.eclipse.hyades.internal.execution.local.common.CommandElement
      extended by org.eclipse.hyades.internal.execution.local.common.SimpleProcessCommand
          extended by org.eclipse.hyades.internal.execution.local.common.SimpleAgentInfoCommand
              extended by org.eclipse.hyades.internal.execution.local.common.CustomCommand
All Implemented Interfaces:
Constants
Direct Known Subclasses:
BinaryCustomCommand

public class CustomCommand
extends SimpleAgentInfoCommand

Insert the type's description here. Creation date: (9/12/00 2:35:40 PM)


Field Summary
protected  RABinaryArray _binaryData
           
protected  RAString _data
           
static java.lang.String ENCODING
           
 
Fields inherited from class org.eclipse.hyades.internal.execution.local.common.SimpleAgentInfoCommand
_agentName
 
Fields inherited from class org.eclipse.hyades.internal.execution.local.common.CommandElement
_context, _tag
 
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
 
Constructor Summary
CustomCommand()
          CustomCommand constructor comment.
 
Method Summary
 java.lang.String getData()
          Insert the method's description here.
 byte[] getDataBinary()
           
 int getSize()
          getSize method comment.
 int readFromBuffer(byte[] buffer, int offset)
          readFromBuffer method comment.
 void setData(byte[] data)
           
 void setData(java.lang.String data)
          Insert the method's description here.
 int writeToBuffer(byte[] buffer, int offset)
          writeToBuffer method comment.
 
Methods inherited from class org.eclipse.hyades.internal.execution.local.common.SimpleAgentInfoCommand
getAgentName, setAgentName
 
Methods inherited from class org.eclipse.hyades.internal.execution.local.common.SimpleProcessCommand
getProcessId, setProcessId
 
Methods inherited from class org.eclipse.hyades.internal.execution.local.common.CommandElement
getContext, getTag, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCODING

public static final java.lang.String ENCODING
See Also:
Constant Field Values

_data

protected RAString _data

_binaryData

protected RABinaryArray _binaryData
Constructor Detail

CustomCommand

public CustomCommand()
CustomCommand constructor comment.

Method Detail

getData

public java.lang.String getData()
Insert the method's description here. Creation date: (2/20/01 11:23:17 PM)

Returns:
java.lang.String

getDataBinary

public byte[] getDataBinary()

getSize

public int getSize()
getSize method comment.

Overrides:
getSize in class SimpleAgentInfoCommand
Returns:
int

readFromBuffer

public int readFromBuffer(byte[] buffer,
                          int offset)
readFromBuffer method comment.

Overrides:
readFromBuffer in class SimpleAgentInfoCommand
Parameters:
buffer - byte[]
offset - Start position for reading
Returns:
int

setData

public void setData(java.lang.String data)
Insert the method's description here. Creation date: (11/2/00 8:20:52 PM)

Parameters:
data - java.lang.String

setData

public void setData(byte[] data)

writeToBuffer

public int writeToBuffer(byte[] buffer,
                         int offset)
writeToBuffer method comment.

Overrides:
writeToBuffer in class SimpleAgentInfoCommand
Parameters:
buffer - byte[]
offset - int
Returns:
int

TPTP 4.6.0 Platform Project
Internal API Specification