Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

NullMessage Class Reference

Inheritance diagram for NullMessage:

Message List of all members.

Public Member Functions

Object create ()
char[] getGuid ()

Static Public Member Functions

 this ()

Private Member Functions

Object create (IReader reader)
void setReply (char[] channel)
char[] getReply ()
bool isReplyExpected ()
void read (IReader reader)
void write (IWriter writer)

Detailed Description

An empty Message that can be used for network signaling, or simply as an example.

Definition at line 177 of file Message.d.


Member Function Documentation

this  )  [inline, static]
 

Register ourselves with the pickle factory

Definition at line 185 of file Message.d.

Object create  )  [inline]
 

Overridable create method that simply instantiates a new instance. May be used to allocate subclassses from a freelist

Reimplemented from Message.

Definition at line 198 of file Message.d.

char [] getGuid  )  [inline]
 

Return the guid for this payload. This should be unique per payload class, if said class is used in conjunction with the clustering facilities. Inspected by the Pickle utility classes.

Reimplemented from Message.

Definition at line 212 of file Message.d.

Object create IReader  reader  )  [inline, inherited]
 

Create a new instance of a payload, and populate it via read() using the specified reader

Reimplemented from Payload.

Reimplemented in Task.

Definition at line 163 of file Message.d.

void setReply char[]  channel  )  [inline, inherited]
 

Reimplemented from IMessage.

Definition at line 106 of file Message.d.

References Message::reply.

char [] getReply  )  [inline, inherited]
 

Reimplemented from IMessage.

Definition at line 115 of file Message.d.

References Message::reply.

bool isReplyExpected  )  [inline, inherited]
 

Definition at line 124 of file Message.d.

References Message::reply.

void read IReader  reader  )  [inline, inherited]
 

Recover the reply-channel from the provided reader

Reimplemented from Payload.

Reimplemented in Task.

Definition at line 135 of file Message.d.

References IReader::get(), IReader::length(), and Message::reply.

void write IWriter  writer  )  [inline, inherited]
 

Emit our reply-channel to the provided writer

Reimplemented from Payload.

Reimplemented in Task.

Definition at line 150 of file Message.d.

References IWriter::put(), and Message::reply.


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:08 2004 for Mango by doxygen 1.3.6