org.apache.jcs.auxiliary.remote.behavior
Interface IRemoteCacheDispatcher

All Known Implementing Classes:
RemoteHttpCacheDispatcher

public interface IRemoteCacheDispatcher

In the future, this can be used as a generic dispatcher abstraction.

At the time of creation, only the http remote cache uses it. The RMI remote could be converted to use it as well.


Method Summary
 RemoteCacheResponse dispatchRequest(RemoteCacheRequest remoteCacheRequest)
          All requests will go through this method.
 

Method Detail

dispatchRequest

RemoteCacheResponse dispatchRequest(RemoteCacheRequest remoteCacheRequest)
                                    throws IOException
All requests will go through this method. The dispatcher implementation will send the request remotely.

Parameters:
remoteCacheRequest -
Returns:
RemoteCacheResponse
Throws:
IOException


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.