org.apache.geronimo.messaging.replication
Interface UpdateEvent

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
SimpleReplicatedMap.MapUpdateEvent

public interface UpdateEvent
extends Externalizable

Event to be multicasted by a ReplicationCapable upon modification.

Version:
$Revision: 1.1 $ $Date: 2004/05/11 12:06:40 $

Method Summary
 int getId()
          Gets the event identifier.
 Object getTarget()
          Gets the target of the event.
 void setTarget(Object aTarget)
          Sets the target of this event.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getId

public int getId()
Gets the event identifier.

Returns:
Event identifier.

getTarget

public Object getTarget()
Gets the target of the event. It must be the ReplicationCapable which has been updated.

Returns:
Instance which has been updated.

setTarget

public void setTarget(Object aTarget)
Sets the target of this event.

Parameters:
aTarget - Instance which has been updated.


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.