mandala.jacob.remote.gpf
Class RemoteActiveMapProxy
java.lang.Object
mandala.jacob.remote.AbstractRemote
mandala.jacob.remote.AbstractLocalReferenceRetriever
mandala.jacob.remote.gpf.AbstractSingletonRemoteProxy
mandala.jacob.remote.gpf.RemoteMapProxy
mandala.jacob.remote.gpf.RemoteActiveMapProxy
- All Implemented Interfaces:
- ActiveMap, LocalReferenceRetriever, Map, Remote, RemoteActiveMap, RemoteMap, Serializable
- public abstract class RemoteActiveMapProxy
- extends RemoteMapProxy
- implements RemoteActiveMap
Generic proxy for remote ActiveMap
implementation.
- Version:
- $Revision: 1.5 $
- Author:
- eipi
- See Also:
AbstractRemote
,
RemoteActiveMap
,
ExceptionHandler
,
RemoteMapProxy
,
Serialized Form
Methods inherited from class mandala.jacob.remote.gpf.RemoteMapProxy |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
RemoteActiveMapProxy
public RemoteActiveMapProxy(ActiveMap activeMap,
Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
call
public Cancelable call(Object key,
FutureServer future)
- Description copied from interface:
ActiveMap
Allows objects to do an asynchronous call on a method of the object
associated with the given key.
Invokes the method returned by futureServer.getMethod()
on the object maps to the specified key
(if it exists).
The futureServer
object is also used to sets the result
once the method returns either normally or abruptly (exception) with the
method futureServer.setResult()
The futureServer
object given is used as specified in
MethodInvoker.run()
- Specified by:
call
in interface ActiveMap
- Parameters:
key
- The key associated with the stored object.future
- A FutureServer
object.
- Returns:
- the object you may used for cancelation
- See Also:
FutureServer
,
MethodInvoker
toString
public String toString()
- Overrides:
toString
in class RemoteMapProxy
Mandala help mailing list