com.ibm.ras
Class RASMaskChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.ras.RASMaskChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class RASMaskChangeEvent
extends java.util.EventObject

RASMaskChangeEvent indicates that a change has occurred in a message or trace mask. It is sent from a RASIMaskChangeGenerator to a RASIMaskChangeListener.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RASMaskChangeEvent(java.lang.Object source, long oldMask, long newMask, boolean flag)
          Creates a RASMaskChangeEvent.
 
Method Summary
 long getNewMask()
          Gets the new message or trace mask value.
 long getOldMask()
          Gets the old message or trace mask value.
 boolean isMessageMask()
          Determines if the changed mask was a message mask or a trace mask.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RASMaskChangeEvent

public RASMaskChangeEvent(java.lang.Object source,
                          long oldMask,
                          long newMask,
                          boolean flag)
Creates a RASMaskChangeEvent.

Parameters:
source - The object which generated this RASMaskChangeEvent
oldMask - The old mask value.
newMask - The new mask value.
flag - true if this mask is a message mask and false if it is a trace mask.
Method Detail

getOldMask

public long getOldMask()
Gets the old message or trace mask value.

Returns:
The old mask value.

getNewMask

public long getNewMask()
Gets the new message or trace mask value.

Returns:
The new mask value.

isMessageMask

public boolean isMessageMask()
Determines if the changed mask was a message mask or a trace mask.

Returns:
true if this changed mask is a message mask and false if it is a trace mask.


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.