Voyager ORB

com.objectspace.voyager.space
Class SubspaceEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.objectspace.voyager.space.SubspaceEvent

public class SubspaceEvent
extends java.util.EventObject

A SubspaceEvent occurs when an object is added/removed from a subspace or a neighboring subspace is added/removed.

Version:
3.0
See Also:
Serialized Form

Field Summary
static int ADDING
          An object was added to the subspace.
static int CONNECTING
          A neighbor was connected to the subspace.
static int DISCONNECTING
          A neighbor was disconnected from the subspace.
static int REMOVING
          An object was removed from the subspace.
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 int getEventCode()
          Return the event code of this event.
 java.lang.Object getObject()
          Return the object that was added/removed.
 ISubspace getSubspace()
          Return the subspace that was connected/disconnected.
 java.lang.String toString()
          Return a string that describes me.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDING

public static final int ADDING
An object was added to the subspace.

REMOVING

public static final int REMOVING
An object was removed from the subspace.

CONNECTING

public static final int CONNECTING
A neighbor was connected to the subspace.

DISCONNECTING

public static final int DISCONNECTING
A neighbor was disconnected from the subspace.
Method Detail

toString

public java.lang.String toString()
Return a string that describes me.
Overrides:
toString in class java.util.EventObject

getObject

public java.lang.Object getObject()
Return the object that was added/removed.

getSubspace

public ISubspace getSubspace()
Return the subspace that was connected/disconnected.

getEventCode

public int getEventCode()
Return the event code of this event.

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240