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

PathMapping Class Reference

Inheritance diagram for PathMapping:

Payload List of all members.

Public Member Functions

 this (ServletMapping mapping, char[] path)

Private Member Functions

void destroy ()
ulong getTime ()
void setTime (ulong time)
void read (IReader reader)
void write (IWriter writer)
Object create (IReader reader)
Object create ()
char[] getGuid ()

Private Attributes

char[] path
ServletMapping mapping

Detailed Description

PathMapping instances are held in the mapping cache, and relate a servlet to a given uri request. Method constructPathMapping() produces these.

Definition at line 560 of file ServletProvider.d.


Member Function Documentation

this ServletMapping  mapping,
char[]  path
[inline]
 

Construct the mapping with all necessary attributes

Definition at line 574 of file ServletProvider.d.

void destroy  )  [inline, inherited]
 

Destroy this payload. Often used to return instances to a freelist, or otherwise release resources.

Reimplemented from IPayload.

Reimplemented in QueuedEntry, InvalidatorPayload, and ClusterEntry.

Definition at line 61 of file Payload.d.

ulong getTime  )  [inline, inherited]
 

Return the timestamp associated with this payload

Reimplemented from IPayload.

Definition at line 71 of file Payload.d.

References Payload::time.

Referenced by ChannelCache::lockWhereInvalid().

void setTime ulong  time  )  [inline, inherited]
 

Set the timestamp of this payload

Reimplemented from IPayload.

Definition at line 82 of file Payload.d.

void read IReader  reader  )  [inline, inherited]
 

Recover the timestamp from the provided reader

Reimplemented from IReadable.

Reimplemented in InvalidatorPayload, Message, Task, and RollCall.

Definition at line 93 of file Payload.d.

References IReader::get(), and Payload::time.

Referenced by Payload::create().

void write IWriter  writer  )  [inline, inherited]
 

Emit our timestamp to the provided writer

Reimplemented from IWritable.

Reimplemented in InvalidatorPayload, Message, Task, and RollCall.

Definition at line 104 of file Payload.d.

References IWriter::put(), and Payload::time.

Object create IReader  reader  )  [inline, inherited]
 

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

Reimplemented from IPickleFactory.

Reimplemented in Message, and Task.

Definition at line 116 of file Payload.d.

References Payload::create(), and Payload::read().

Object create  )  [inline, inherited]
 

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 131 of file Payload.d.

Referenced by Payload::create().

char [] getGuid  )  [inline, inherited]
 

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 145 of file Payload.d.


Member Data Documentation

char [] path [private]
 

Definition at line 562 of file ServletProvider.d.

ServletMapping mapping [private]
 

Definition at line 563 of file ServletProvider.d.

Referenced by ServletProvider::service().


The documentation for this class was generated from the following file:
Generated on Sat Dec 24 17:28:40 2005 for Mango by  doxygen 1.4.0