Inheritance diagram for Payload:
Public Member Functions | |
void | destroy () |
long | getTime () |
void | setTime (long time) |
void | read (IReader reader) |
void | write (IWriter writer) |
Object | create (IReader reader) |
Object | create () |
char[] | getGuid () |
Private Attributes | |
ulong | time |
Definition at line 47 of file Payload.d.
|
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 time. Referenced by ChannelCache::lockWhereInvalid(). |
|
Set the timestamp of this payload Reimplemented from IPayload. Definition at line 79 of file Payload.d. References time. |
|
Recover the timestamp from the provided reader Reimplemented from IReadable. Reimplemented in InvalidatorPayload, Message, Task, and RollCall. Definition at line 90 of file Payload.d. References IReader::get(), and time. Referenced by create(), testProtocol(), and testRemoteCacheLoader(). |
|
Emit our timestamp to the provided writer Reimplemented from IWritable. Reimplemented in InvalidatorPayload, Message, Task, and RollCall. Definition at line 101 of file Payload.d. References IWriter::put(), and time. Referenced by testProtocol(). |
|
Create a new instance of a payload, and populate it via read() using the specified reader Reimplemented from IPickleFactory. Reimplemented in Message, and Task. |
|
Overridable create method that simply instantiates a new instance. May be used to allocate subclassses from a freelist Reimplemented in InvalidatorPayload, Message, NullMessage, Task, ClusterEntry, and RollCall. Definition at line 128 of file Payload.d. Referenced by create(), and testProtocol(). |
|
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 IPickle. Reimplemented in InvalidatorPayload, Message, NullMessage, Task, and RollCall. Definition at line 142 of file Payload.d. Referenced by testProtocol(). |
|
|