Transcoder< T > Interface Reference

List of all members.

Public Member Functions

decode (CachedData d)

Package Functions

CachedData encode (T o)


Detailed Description

Transcoder is an interface for classes that convert between byte arrays and objects for storage in the cache.

Member Function Documentation

T decode ( CachedData  d  ) 

Decode the cached object into the object it represents.

Parameters:
d the data
Returns:
the return value

CachedData encode ( o  )  [package]

Encode the given object for storage.

Parameters:
o the object
Returns:
the CachedData representing what should be sent


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:38 2012 for Project Wonder by  doxygen 1.5.8