Go backward to MessageQueue : Message QueuesGo up to 4.1 Types |
MessageCell
: Message Cellsclass MessageCell { MessageCell(Message m) MessageCell(Message m, MessageCell c) Message getMessage() MessageCell getNext() void setMessage(Message m) void setNext(MessageCell c) }
This type is used for low-level access to message queues.
A message cell contains a message and a "next" cell (which may be
null
). The unary constructor constructs a cell with message
m and sets the next cell to null
; the binary constructor
constructs a cell from given m and c. getMessage
returns
the message from the cell; getNext
returns the next
cell. setMessage
sets the cell's message to m; setNext
sets its next cell to c.