Inheritance diagram for Task:
Public Member Functions | |
void | execute () |
Object | create () |
char[] | getGuid () |
void | read (IReader reader) |
void | write (IWriter writer) |
Object | create (IReader reader) |
Private Member Functions | |
void | setReply (char[] channel) |
char[] | getReply () |
bool | isReplyExpected () |
long | getTime () |
void | setTime (long time) |
void | destroy () |
You should do it this way so that your Task can be deserialized as a superclass instance (if ever necessary).
Definition at line 251 of file Message.d.
|
Reimplemented from ITask. |
|
Overridable create method that simply instantiates a new instance. May be used to allocate subclassses from a freelist Reimplemented from Message. |
|
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 Message. |
|
Recover attributes from the provided reader Reimplemented from Message. |
|
Emit attributes to the provided writer Reimplemented from Message. |
|
Create a new instance of a payload, and populate it via read() using the specified reader Reimplemented from Message. |
|
Reimplemented from IMessage. Definition at line 106 of file Message.d. References Message::reply. |
|
Reimplemented from IMessage. Definition at line 115 of file Message.d. References Message::reply. |
|
Definition at line 124 of file Message.d. References Message::reply. |
|
Reimplemented in Payload. Referenced by PlainCache::bind(), PlainCache::extract(), CacheServer::LoaderThread::load(), and NetworkCombo::put(). |
|
Reimplemented in Payload. |
|
Perform whatever cleanup is necessary. Could use ~this() instead, but I prefer it to be truly explicit. Reimplemented in Payload, QueuedEntry, InvalidatorPayload, and ClusterEntry. Referenced by CacheInvalidatee::notify(). |