All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface PREDATOR.ADT.CachingObject

public interface CachingObject
extends CallbackObject
The class extended by objects which can contact the server for additional information and are also able to provide a binary representation of this information so that the "full value" can be cached.

See Also:
CallbackObject

Method Index

 o callback(URL, ADTMetaInfo)
Performs a callback to the server, using the given URL.
 o requiresCallback(ADTMetaInfo)
Determines if this object has a handle on the "full value", or if a callback or deserialization is necessary.

Methods

 o callback
 public abstract void callback(URL CallbackURL,
                               ADTMetaInfo MetaInfo)
Performs a callback to the server, using the given URL. The URL may be opened as a stream, if desired. The contents of the URL will be determined by what the server-side ADT writes out in the ServiceCallback() function (in types.h).

Parameters:
CallbackURL - The URL of the callback object
MetaInfo - The meta-info for this object
 o requiresCallback
 public abstract boolean requiresCallback(ADTMetaInfo MetaInfo)
Determines if this object has a handle on the "full value", or if a callback or deserialization is necessary.

Parameters:
MetaInfo - The meta-info for this object
Returns:
true if this object does not have its "full value" available

All Packages  Class Hierarchy  This Package  Previous  Next  Index