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
.Constructor and Description |
---|
RASMaskChangeEvent(java.lang.Object source,
long oldMask,
long newMask,
boolean flag)
Deprecated.
Creates a
RASMaskChangeEvent . |
Modifier and Type | Method and Description |
---|---|
long |
getNewMask()
Deprecated.
Gets the new message or trace mask value.
|
long |
getOldMask()
Deprecated.
Gets the old message or trace mask value.
|
boolean |
isMessageMask()
Deprecated.
Determines if the changed mask was a message mask or a trace mask.
|
public RASMaskChangeEvent(java.lang.Object source, long oldMask, long newMask, boolean flag)
RASMaskChangeEvent
.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.public long getOldMask()
public long getNewMask()
public boolean isMessageMask()
true
if this changed mask is a message mask and
false
if it is a trace mask.