|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Generic proxy for remote ActiveMap
implementation.
AbstractRemote
,
RemoteActiveMap
,
ExceptionHandler
,
RemoteMapProxy
,
Serialized FormNested Class Summary |
Nested classes inherited from class mandala.jacob.remote.gpf.RemoteMapProxy |
RemoteMapProxy.RemoteEntryProxy |
Nested classes inherited from class mandala.jacob.remote.RemoteActiveMap |
RemoteActiveMap.CallRemoteExceptionInfo, RemoteActiveMap.RemoteActiveMapMethods, RemoteActiveMap.RemoteFutureFactory |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Nested classes inherited from class mandala.jacob.remote.RemoteMap |
RemoteMap.RemoteEntry, RemoteMap.RemoteMapMethods |
Field Summary |
Fields inherited from class mandala.jacob.remote.gpf.AbstractSingletonRemoteProxy |
client, exporter |
Fields inherited from class mandala.jacob.remote.AbstractRemote |
defaultExceptionHandler, exceptionHandler, syslog |
Constructor Summary | |
RemoteActiveMapProxy(ActiveMap activeMap,
Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
|
Method Summary | |
Cancelable |
call(java.lang.Object key,
FutureServer future)
Allows objects to do an asynchronous call on a method of the object associated with the given key. |
java.lang.String |
toString()
|
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 class mandala.jacob.remote.gpf.AbstractSingletonRemoteProxy |
readResolve |
Methods inherited from class mandala.jacob.remote.AbstractLocalReferenceRetriever |
finalize, getID, getLocalReference |
Methods inherited from class mandala.jacob.remote.AbstractRemote |
getDefaultExceptionHandler, getExceptionHandler, getSyslog, handleException, setDefaultExceptionHandler, setExceptionHandler, setSyslog |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mandala.jacob.remote.RemoteActiveMap |
getDefaultFutureFactoryWrapper |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface mandala.jacob.remote.RemoteMap |
entrySet, keySet, putAll, values |
Methods inherited from interface mandala.jacob.remote.LocalReferenceRetriever |
getID, getLocalReference |
Methods inherited from interface mandala.jacob.remote.Remote |
getExceptionHandler, setExceptionHandler |
Constructor Detail |
public RemoteActiveMapProxy(ActiveMap activeMap, Client client, Exporter exporter, ExceptionHandler exceptionHandler)
Method Detail |
public Cancelable call(java.lang.Object key, FutureServer future)
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()
call
in interface ActiveMap
key
- The key associated with the stored object.future
- A FutureServer
object.
FutureServer
,
MethodInvoker
public java.lang.String toString()
toString
in class RemoteMapProxy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |