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

IPayload Struct Reference

Inheritance diagram for IPayload:

IPickle IPickleFactory IWritable IReadable IWritable IReadable IMessage IRemoteCacheLoader Payload ITask Message ClusterEntry InvalidatorPayload Message PathMapping QueuedEntry RollCall List of all members.

Public Member Functions

long getTime ()
void setTime (long time)
void destroy ()
char[] getGuid ()
char[] getGuid ()
void write (IWriter w)
void write (IWriter w)

Private Member Functions

char[] getGuid ()
Object create (IReader reader)
Object create (IReader reader)

Detailed Description

IPayload objects are held within an ICache. Each entry can be serialized in the standard fashion, via the IReader/IWriter mechanisms and the IPickle object resurrection facilities.

IPayload objects are expected to extend out across a cluster.

Definition at line 53 of file IPayload.d.


Member Function Documentation

long getTime  ) 
 

Reimplemented in Payload.

Referenced by PlainCache::bind(), PlainCache::extract(), CacheServer::LoaderThread::load(), and NetworkCombo::put().

void setTime long  time  ) 
 

Reimplemented in Payload.

void destroy  ) 
 

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().

char [] getGuid  )  [inherited]
 

Identify this serializable class via a char[]. This should be (per class) unique within the domain. Use version numbers or similar mechanism to isolate different implementations of the same class.

Reimplemented in Payload, InvalidatorPayload, Message, NullMessage, Task, and RollCall.

Referenced by ClusterServer::addCacheLoader(), PickleWriter::freeze(), testClassSerialization(), and testRemoteCacheLoader().

char [] getGuid  )  [inherited]
 

Identify this serializable class via a char[]. This should be (per class) unique within the domain. Use version numbers or similar mechanism to isolate different implementations of the same class.

Reimplemented in Payload, InvalidatorPayload, Message, NullMessage, Task, and RollCall.

void write IWriter  w  )  [inherited]
 

Reimplemented in Payload, InvalidatorPayload, Message, Task, Channel, RollCall, ResponseLine, Cookie, HttpCookies, HttpMessage, HttpRequest, HttpResponse, HttpTokens, NewlineWriter, FilePath, Token, and Uri.

Referenced by PickleWriter::freeze(), HttpClient::open(), AbstractWriter::opShl(), testClassIO(), testClassSerialization(), testCompositeIO(), testRemoteCacheLoader(), and HttpRequest::write().

void write IWriter  w  )  [inherited]
 

Reimplemented in Payload, InvalidatorPayload, Message, Task, Channel, RollCall, ResponseLine, Cookie, HttpCookies, HttpMessage, HttpRequest, HttpResponse, HttpTokens, NewlineWriter, FilePath, Token, and Uri.

char [] getGuid  )  [inherited]
 

Identify this serializable class via a char[]. This should be (per class) unique within the domain. Use version numbers or similar mechanism to isolate different implementations of the same class.

Reimplemented in Payload, InvalidatorPayload, Message, NullMessage, Task, and RollCall.

Referenced by TaskServer::addConsumer(), and PickleRegistry::enroll().

Object create IReader  reader  )  [inherited]
 

This defines the factory method. Each IPickleProxy object provides a factory for creating a deserialized instance. The factory is registered along with the appropriate guid.

Reimplemented in Payload, Message, and Task.

Referenced by PickleRegistry::PickleProxy::create(), PickleRegistry::Proxy::create(), testClassSerialization(), and testRemoteCacheLoader().

Object create IReader  reader  )  [inherited]
 

This defines the factory method. Each IPickleProxy object provides a factory for creating a deserialized instance. The factory is registered along with the appropriate guid.

Reimplemented in Payload, Message, and Task.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 25 21:18:36 2005 for Mango by doxygen 1.3.6