previous up next
Go backward to MessageQueue: Message Queues
Go up to 4.1 Types
RISC-Linz logo

MessageCell: Message Cells

class 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.


Maintainer: Wolfgang Schreiner
Last Modification: November 14, 1997

previous up next