mandala.jacob.remote
Interface RemoteMap

All Superinterfaces:
LocalReferenceRetriever, java.util.Map, Remote, java.io.Serializable
All Known Subinterfaces:
RemoteActiveMap
All Known Implementing Classes:
RemoteActiveMapProxy, RemoteMapProxy, RMIActiveMap, RMIMap

public interface RemoteMap
extends java.util.Map, LocalReferenceRetriever

Represents a remote map.

Methods which takes Collection in argument such as putAll(), wrapped them in a RemoteCollection which are proxies to the real collection and are not copies of them.

Methods which returns Collection such as keySet() returns in fact RemoteCollection which are proxies to the real collection and are not copies of them.

Methods which returns elements of the remote map such as get() returns in fact a copy of the element normally returned.

This interface should be the only access to a remote map for any remote clients.

Since:
1.0
Version:
1.0
Author:
eipi
See Also:
Remote, ExceptionHandler, Map

Nested Class Summary
static interface RemoteMap.RemoteEntry
           
static class RemoteMap.RemoteMapMethods
           
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 java.util.Set entrySet()
          Returns a RemoteSet value.
 java.util.Set keySet()
          Returns a RemoteSet value.
 void putAll(RemoteMap remoteMap)
           
 java.util.Collection values()
          Returns a RemoteCollection value.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size
 
Methods inherited from interface mandala.jacob.remote.LocalReferenceRetriever
getID, getLocalReference
 
Methods inherited from interface mandala.jacob.remote.Remote
getExceptionHandler, setExceptionHandler
 

Method Detail

putAll

public void putAll(RemoteMap remoteMap)

values

public java.util.Collection values()

Returns a RemoteCollection value.

Specified by:
values in interface java.util.Map
Returns:
a RemoteCollection value
See Also:
RemoteCollection

entrySet

public java.util.Set entrySet()

Returns a RemoteSet value.

Specified by:
entrySet in interface java.util.Map
Returns:
a RemoteSet value
See Also:
RemoteSet

keySet

public java.util.Set keySet()

Returns a RemoteSet value.

Specified by:
keySet in interface java.util.Map
Returns:
a RemoteSet value
See Also:
RemoteSet


Mandala help mailing list