Inheritance diagram for Message:
Public Member Functions | |
Object | create () |
char[] | getGuid () |
void | setReply (char[] channel) |
char[] | getReply () |
bool | isReplyExpected () |
void | read (IReader reader) |
void | write (IWriter writer) |
Object | create (IReader reader) |
Private Member Functions | |
void | destroy () |
long | getTime () |
void | setTime (long time) |
Private Attributes | |
char[] | reply |
You should do it this way so that your Message can be deserialized as a superclass instance (if ever necessary).
Definition at line 77 of file Message.d.
|
Overridable create method that simply instantiates a new instance. May be used to allocate subclassses from a freelist Reimplemented from Payload. Reimplemented in NullMessage, and Task. |
|
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 utilitiy classes. Reimplemented from Payload. Reimplemented in NullMessage, and Task. |
|
Reimplemented from IMessage. Definition at line 106 of file Message.d. References reply. |
|
Reimplemented from IMessage. Definition at line 115 of file Message.d. References reply. |
|
Definition at line 124 of file Message.d. References reply. |
|
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 reply. |
|
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 reply. |
|
Create a new instance of a payload, and populate it via read() using the specified reader Reimplemented from Payload. Reimplemented in Task. |
|
Destroy this payload. Often used to return instances to a freelist, or otherwise release resources. Reimplemented from IPayload. Reimplemented in QueuedEntry, InvalidatorPayload, and ClusterEntry. |
|
Return the timestamp associated with this payload Reimplemented from IPayload. Definition at line 68 of file Payload.d. References Payload::time. Referenced by ChannelCache::lockWhereInvalid(). |
|
Set the timestamp of this payload Reimplemented from IPayload. Definition at line 79 of file Payload.d. References time. |
|
Definition at line 79 of file Message.d. Referenced by getReply(), isReplyExpected(), read(), setReply(), and write(). |