|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TODO introduce versioning.
Method Summary | |
void |
addUpdateListener(UpdateListener aListener)
Adds an UpdateEvent listener. |
Object |
getID()
Identifier of this ReplicationCapable. |
void |
mergeWithUpdate(UpdateEvent anEvent)
Merges an UpdateEvent with the state of this instance. |
void |
removeUpdateListener(UpdateListener aListener)
Removes the specified UpdateListener. |
void |
setID(Object anID)
Sets the identifier of this instance in the scope of the replication group managing it. |
Method Detail |
public Object getID()
public void setID(Object anID)
anID
- Identifier.public void addUpdateListener(UpdateListener aListener)
aListener
- Listener to be notified when an update is performed
on this instance.public void removeUpdateListener(UpdateListener aListener)
aListener
- Listener to be removed.public void mergeWithUpdate(UpdateEvent anEvent) throws ReplicationException
anEvent
- UpdateEvent to be merged with this instance.
ReplicationException
- Indicates that the merge can not be
performed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |