|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmandala.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 Form| Nested Class Summary |
| Nested classes inherited from class mandala.jacob.remote.gpf.RemoteMapProxy |
RemoteMapProxy.RemoteEntryProxy |
| Nested classes inherited from class mandala.jacob.remote.AbstractRemote |
AbstractRemote.ExceptionInfo |
| Nested classes inherited from class mandala.jacob.remote.RemoteActiveMap |
RemoteActiveMap.RemoteActiveMapMethods, RemoteActiveMap.RemoteFutureFactory |
| Nested classes inherited from class java.util.Map |
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(Object key,
FutureServer future)
Allows objects to do an asynchronous call on a method of the object associated with the given key. |
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 |
finalize, readResolve |
| Methods inherited from class mandala.jacob.remote.AbstractLocalReferenceRetriever |
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(Object key,
FutureServer future)
ActiveMapAllows 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 ActiveMapkey - The key associated with the stored object.future - A FutureServer object.
FutureServer,
MethodInvokerpublic String toString()
toString in class RemoteMapProxy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||