mandala.jacob.remote
Interface RemoteCollection

All Superinterfaces:
java.util.Collection, LocalReferenceRetriever, Remote, java.io.Serializable
All Known Subinterfaces:
RemoteSet
All Known Implementing Classes:
RemoteCollectionProxy, RemoteSetProxy, RMICollection, RMISet

public interface RemoteCollection
extends java.util.Collection, LocalReferenceRetriever

Represents a remote collection.

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

The method iterator() returns in fact a RemoteIterator which is a proxy on the real iterator normally returned.

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

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

Nested Class Summary
static class RemoteCollection.RemoteCollectionMethods
           
 
Method Summary
 boolean addAll(RemoteCollection collection)
           
 boolean containsAll(RemoteCollection collection)
           
 boolean removeAll(RemoteCollection collection)
           
 boolean retainAll(RemoteCollection collection)
           
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface mandala.jacob.remote.LocalReferenceRetriever
getID, getLocalReference
 
Methods inherited from interface mandala.jacob.remote.Remote
getExceptionHandler, setExceptionHandler
 

Method Detail

containsAll

public boolean containsAll(RemoteCollection collection)

addAll

public boolean addAll(RemoteCollection collection)

removeAll

public boolean removeAll(RemoteCollection collection)

retainAll

public boolean retainAll(RemoteCollection collection)


Mandala help mailing list