TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local.common
Class Message

java.lang.Object
  extended byorg.eclipse.hyades.execution.local.common.Message
All Implemented Interfaces:
Constants
Direct Known Subclasses:
AcknowledgementMessage, ControlMessage

public class Message
extends java.lang.Object
implements Constants


Field Summary
protected  long _ticket
           
protected  long _type
           
protected  long _version
           
 
Fields inherited from interface org.eclipse.hyades.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
Message()
           
 
Method Summary
 int getSize()
          Insert the method's description here.
 long getTicket()
          Insert the method's description here.
 long getType()
          Insert the method's description here.
 long getVersion()
          Insert the method's description here.
 int readFromBuffer(byte[] buffer, int offset)
          Insert the method's description here.
static int readRABinaryArrayFromBuffer(byte[] buffer, int offset, RABinaryArray raarray)
           
static int readRAInetAddressFromBuffer(byte[] buffer, int offset, RAInetAddress ipaddr)
           
static long readRALongFromBuffer(byte[] buffer, int offset)
          Insert the method's description here.
static int readRAStringFromBuffer(byte[] buffer, int offset, RAString rastring)
          Insert the method's description here.
 void setTicket(long ticket)
          Insert the method's description here.
 void setVersion(long version)
          Insert the method's description here.
static int writeRABinaryArrayToBuffer(byte[] buffer, int offset, RABinaryArray raarray)
           
static int writeRAInetAddressToBuffer(byte[] buffer, int offset, RAInetAddress addr)
           
static int writeRALongToBuffer(byte[] buffer, int offset, long ralong)
          Insert the method's description here.
static int writeRAStringToBuffer(byte[] buffer, int offset, RAString rastring)
          Insert the method's description here.
 int writeToBuffer(byte[] buffer, int offset)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_version

protected long _version

_type

protected long _type

_ticket

protected long _ticket
Constructor Detail

Message

public Message()
Method Detail

getSize

public int getSize()
Insert the method's description here. Creation date: (6/2/00 4:16:27 PM)

Returns:
int

getTicket

public long getTicket()
Insert the method's description here. Creation date: (6/2/00 1:48:08 PM)

Returns:
long

getType

public long getType()
Insert the method's description here. Creation date: (11/1/00 3:22:45 PM)

Returns:
long

getVersion

public long getVersion()
Insert the method's description here. Creation date: (10/31/00 5:58:37 PM)

Returns:
long

readFromBuffer

public int readFromBuffer(byte[] buffer,
                          int offset)
Insert the method's description here. Creation date: (6/2/00 1:50:09 PM)

Parameters:
buffer - byte[]

readRALongFromBuffer

public static long readRALongFromBuffer(byte[] buffer,
                                        int offset)
Insert the method's description here. Creation date: (10/31/00 6:02:05 PM)

Parameters:
buffer - byte[]
offset - int
Returns:
int

readRAStringFromBuffer

public static int readRAStringFromBuffer(byte[] buffer,
                                         int offset,
                                         RAString rastring)
Insert the method's description here. Creation date: (10/31/00 6:03:31 PM)

Parameters:
buffer - byte[]
offset - int
Returns:
int

readRABinaryArrayFromBuffer

public static int readRABinaryArrayFromBuffer(byte[] buffer,
                                              int offset,
                                              RABinaryArray raarray)

readRAInetAddressFromBuffer

public static int readRAInetAddressFromBuffer(byte[] buffer,
                                              int offset,
                                              RAInetAddress ipaddr)

setTicket

public void setTicket(long ticket)
Insert the method's description here. Creation date: (6/2/00 1:48:28 PM)

Parameters:
ticket - java.lang.Long

setVersion

public void setVersion(long version)
Insert the method's description here. Creation date: (10/31/00 5:59:43 PM)

Parameters:
version - long

writeRALongToBuffer

public static int writeRALongToBuffer(byte[] buffer,
                                      int offset,
                                      long ralong)
Insert the method's description here. Creation date: (10/31/00 6:02:05 PM)

Parameters:
buffer - byte[]
offset - int
Returns:
int

writeRAStringToBuffer

public static int writeRAStringToBuffer(byte[] buffer,
                                        int offset,
                                        RAString rastring)
Insert the method's description here. Creation date: (10/31/00 6:03:31 PM)

Parameters:
buffer - byte[]
offset - int
Returns:
int

writeRABinaryArrayToBuffer

public static int writeRABinaryArrayToBuffer(byte[] buffer,
                                             int offset,
                                             RABinaryArray raarray)

writeRAInetAddressToBuffer

public static int writeRAInetAddressToBuffer(byte[] buffer,
                                             int offset,
                                             RAInetAddress addr)

writeToBuffer

public int writeToBuffer(byte[] buffer,
                         int offset)
Insert the method's description here. Creation date: (6/2/00 1:49:08 PM)

Parameters:
buffer - byte[]
Returns:
int

TPTP 4.4.0 Platform Project
Public API Specification