Class aglet.event.AgletEventListener
All Packages Class Hierarchy This Package Previous Next Index
Class aglet.event.AgletEventListener
java.lang.Object
|
+----aglet.event.AgletEventListener
- public class AgletEventListener
- extends Object
- implements CloneListener, MobilityListener, PersistencyListener, Externalizable
The aglet event listener class is a container class for
all aglet related listener. It is not normally used by
the aglet programmers.
-
AgletEventListener()
-
-
AgletEventListener(CloneListener, CloneListener)
- Constructs an AgletEventlistener object with specified two clone
listener objects.
-
AgletEventListener(MobilityListener, MobilityListener)
- Constructs an AgletEventlistener object with specified two mobility
listener objects.
-
AgletEventListener(PersistencyListener, PersistencyListener)
- Constructs an AgletEventlistener object with specified two persistency
listener objects.
-
addCloneListener(CloneListener)
- Adds the specified clone listener object
-
addMobilityListener(MobilityListener)
- Adds the specified mobility listener object
-
addPersistencyListener(PersistencyListener)
- Adds the specified persistency listener object
-
onActivation(PersistencyEvent)
- Calls the onActivation methods on the listers with the specified
persistency event.
-
onArrival(MobilityEvent)
- Calls the onArrival methods on the listers with the specified
mobility event.
-
onClone(CloneEvent)
- Calls the onClone methods on the listers with the specified
Clone event.
-
onCloned(CloneEvent)
- Calls the onCloned methods on the listers with the specified
Clone event.
-
onCloning(CloneEvent)
- Calls the onCloning methods on the listers with the specified
Clone event.
-
onDeactivating(PersistencyEvent)
- Calls the onDeactivating methods on the listers with the specified
persistency event.
-
onDispatching(MobilityEvent)
- Calls the onDispatching methods on the listers with the specified
mobility event.
-
onReverting(MobilityEvent)
- Calls the onReverting methods on the listers with the specified
mobility event.
-
readExternal(ObjectInput)
- This is not used by aglet programmers.
-
removeCloneListener(CloneListener)
- Removes the specified clone listener object
-
removeMobilityListener(MobilityListener)
- Removes the specified mobility listener object
-
removePersistencyListener(PersistencyListener)
- Removes the specified persistency listener object
-
size()
- Returns the number of listeners
-
writeExternal(ObjectOutput)
- This is not used by aglet programmers.
AgletEventListener
public AgletEventListener(MobilityListener l1,
MobilityListener l2)
- Constructs an AgletEventlistener object with specified two mobility
listener objects.
AgletEventListener
public AgletEventListener(CloneListener l1,
CloneListener l2)
- Constructs an AgletEventlistener object with specified two clone
listener objects.
AgletEventListener
public AgletEventListener(PersistencyListener l1,
PersistencyListener l2)
- Constructs an AgletEventlistener object with specified two persistency
listener objects.
AgletEventListener
public AgletEventListener()
size
public int size()
- Returns the number of listeners
addCloneListener
public void addCloneListener(CloneListener listener)
- Adds the specified clone listener object
addMobilityListener
public void addMobilityListener(MobilityListener listener)
- Adds the specified mobility listener object
addPersistencyListener
public void addPersistencyListener(PersistencyListener listener)
- Adds the specified persistency listener object
removeCloneListener
public void removeCloneListener(CloneListener listener)
- Removes the specified clone listener object
removeMobilityListener
public void removeMobilityListener(MobilityListener listener)
- Removes the specified mobility listener object
removePersistencyListener
public void removePersistencyListener(PersistencyListener listener)
- Removes the specified persistency listener object
onCloning
public void onCloning(CloneEvent ev)
- Calls the onCloning methods on the listers with the specified
Clone event.
onClone
public void onClone(CloneEvent ev)
- Calls the onClone methods on the listers with the specified
Clone event.
onCloned
public void onCloned(CloneEvent ev)
- Calls the onCloned methods on the listers with the specified
Clone event.
onDispatching
public void onDispatching(MobilityEvent ev)
- Calls the onDispatching methods on the listers with the specified
mobility event.
onReverting
public void onReverting(MobilityEvent ev)
- Calls the onReverting methods on the listers with the specified
mobility event.
onArrival
public void onArrival(MobilityEvent ev)
- Calls the onArrival methods on the listers with the specified
mobility event.
onDeactivating
public void onDeactivating(PersistencyEvent ev)
- Calls the onDeactivating methods on the listers with the specified
persistency event.
onActivation
public void onActivation(PersistencyEvent ev)
- Calls the onActivation methods on the listers with the specified
persistency event.
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- This is not used by aglet programmers.
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- This is not used by aglet programmers.
All Packages Class Hierarchy This Package Previous Next Index