|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
mandala.jacob.remote.rmi.RMICollectionImpl
Java-RMI implementation of the RMICollection interface.
RMICollection,
UnicastRemoteObject,
Serialized Form| Field Summary | |
protected Collection |
collection
The Collection used to stock objects. |
protected Object |
lock
Lock for collection. |
protected static Syslog |
syslog
Message logger. |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
RMICollectionImpl(Collection collection)
|
|
RMICollectionImpl(Collection collection,
int port)
|
|
| Method Summary | |
boolean |
add(Object object)
|
boolean |
addAll(RemoteCollection collection)
|
void |
clear()
|
boolean |
contains(Object object)
|
boolean |
containsAll(RemoteCollection collection)
|
static Syslog |
getSyslog()
Returns the Syslog object facility. |
boolean |
isEmpty()
|
RemoteIterator |
iterator()
|
boolean |
remove(Object object)
|
boolean |
removeAll(RemoteCollection collection)
|
boolean |
retainAll(RemoteCollection collection)
|
int |
size()
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] objects)
|
String |
toString()
|
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final Syslog syslog
Message logger.
Each message (debug, log, warning, error, ...) are wrote to this message logger.
Syslogprotected Collection collection
Collection used to stock objects.
Collectionprotected Object lock
| Constructor Detail |
public RMICollectionImpl(Collection collection)
throws RemoteException
public RMICollectionImpl(Collection collection,
int port)
throws RemoteException
| Method Detail |
public static Syslog getSyslog()
Returns the Syslog object facility.
Each message (debug, log, warning, error, ...) are wrote to this message logger.
Syslog objectSyslog
public void clear()
throws RemoteException
clear in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean contains(Object object)
throws RemoteException
contains in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean containsAll(RemoteCollection collection)
throws RemoteException
containsAll in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public RemoteIterator iterator()
throws RemoteException
iterator in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean add(Object object)
throws RemoteException
add in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean addAll(RemoteCollection collection)
throws RemoteException
addAll in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean remove(Object object)
throws RemoteException
remove in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean removeAll(RemoteCollection collection)
throws RemoteException
removeAll in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean retainAll(RemoteCollection collection)
throws RemoteException
retainAll in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public Object[] toArray()
throws RemoteException
toArray in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public Object[] toArray(Object[] objects)
throws RemoteException
toArray in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public boolean isEmpty()
throws RemoteException
isEmpty in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteException
public int size()
throws RemoteException
size in interface mandala.jacob.remote.rmi.RMICollectionOpRemoteExceptionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||