Class RMIListClientImpl
java.lang.Object
|
+--RMIListClientImpl
- public class RMIListClientImpl
- extends java.lang.Object
- implements DistributedList
|
Constructor Summary |
RMIListClientImpl(java.lang.String host,
int port,
java.lang.String service)
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
host
protected java.lang.String host
service
protected java.lang.String service
port
protected int port
idList
protected IDList idList
myself
protected RMIListClient myself
listServer
protected RMIListServer listServer
listeners
protected java.util.Vector listeners
RMIListClientImpl
public RMIListClientImpl(java.lang.String host,
int port,
java.lang.String service)
start
public void start()
throws java.rmi.RemoteException,
java.rmi.NotBoundException
stop
public void stop()
throws java.rmi.RemoteException
addElement
public void addElement(java.lang.Object element)
- Specified by:
- addElement in interface DistributedList
updateElement
public void updateElement(java.lang.Object oldElement,
java.lang.Object newElement)
- Specified by:
- updateElement in interface DistributedList
replaceElement
public void replaceElement(java.lang.Object oldElement,
java.lang.Object newElement)
- Specified by:
- replaceElement in interface DistributedList
removeElement
public void removeElement(java.lang.Object element)
- Specified by:
- removeElement in interface DistributedList
getElements
public java.util.Enumeration getElements()
- Specified by:
- getElements in interface DistributedList
addChangeListener
public void addChangeListener(ChangeListener listener)
- Specified by:
- addChangeListener in interface DistributedList
removeChangeListener
public void removeChangeListener(ChangeListener listener)
- Specified by:
- removeChangeListener in interface DistributedList
fireChangeEvent
protected void fireChangeEvent(ChangeEvent changeEvent)