org.gjt.universe.notification
Class WormholeNotification
java.lang.Object
|
+--org.gjt.universe.notification.Notification
|
+--org.gjt.universe.notification.WormholeNotification
- public class WormholeNotification
- extends Notification
This Notification subclass is used for notifications
posted by wormhole objects. The primary purpose of this
class is to have all the wormhole specific notification
names in their own file rather than having one massive
file mixing in all the notification names from all
objects. However, if at a future date we'd like to
embed additional information in wormhole notification
objects, this can be accomplished by adding instance
variables and accessor methods.
- Author:
- Allan Noordvyk (noordvyk@home.com)
Fields inherited from class org.gjt.universe.notification.Notification |
|
Constructor Summary |
WormholeNotification(java.lang.String name,
Wormhole sendingWormhole)
This is the designated constructor which should be used to
create instances of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATED
public static java.lang.String CREATED
ELIMINATED
public static java.lang.String ELIMINATED
END_POINT_CHANGED
public static java.lang.String END_POINT_CHANGED
INTEGRITY_CHANGED
public static java.lang.String INTEGRITY_CHANGED
DIAMETER_CHANGED
public static java.lang.String DIAMETER_CHANGED
WormholeNotification
public WormholeNotification(java.lang.String name,
Wormhole sendingWormhole)
- This is the designated constructor which should be used to
create instances of this class.
- Parameters:
name
- The name (i.e. type) of the notification.sendingWormhole
- The wormhole sending the notification.
getSendingWormhole
public Wormhole getSendingWormhole()
- This simply returns the sending object cast to be
a wormhole.
Copyright © 2001 Universe Dev Team All Rights Reserved.