Sun SPOT API
Green Release  


com.sun.squawk.vm
Class MessageStruct

java.lang.Object
  extended by com.sun.squawk.vm.MessageStruct

public class MessageStruct
extends Object

Method data structure. All the fields are UWords. Keep in sync with msg.c.


Field Summary
static int data
          The offset to the start of the data.
static int HEADERSIZE
          The start of the buffer.
static int key
          The offset to the start of the key naming this message.
static int MAX_MESSAGE_KEY_SIZE
          The size of the maxumum message key.
static int next
          The buffer ID of the next message struct.
static int status
          The status of the connection and message.
 
Constructor Summary
MessageStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

public static final int next
The buffer ID of the next message struct.

See Also:
Constant Field Values

status

public static final int status
The status of the connection and message.

See Also:
Constant Field Values

data

public static final int data
The offset to the start of the data.

See Also:
Constant Field Values

key

public static final int key
The offset to the start of the key naming this message.

See Also:
Constant Field Values

HEADERSIZE

public static final int HEADERSIZE
The start of the buffer.

See Also:
Constant Field Values

MAX_MESSAGE_KEY_SIZE

public static final int MAX_MESSAGE_KEY_SIZE
The size of the maxumum message key. This must be kept in sync with the definition of a messageStruct (e.g., in slowvm/src/vm/msg.c.

See Also:
Constant Field Values
Constructor Detail

MessageStruct

public MessageStruct()

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.