gov.aps.jca.event
Class AccessRightsEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.aps.jca.event.CAEvent
          extended by gov.aps.jca.event.AccessRightsEvent
All Implemented Interfaces:
java.io.Serializable

public class AccessRightsEvent
extends CAEvent

An event which indicates a change in a Channel read and write access properties.

See Also:
Channel, Serialized Form

Field Summary
protected  boolean _read
           
protected  boolean _write
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AccessRightsEvent(Channel channel, boolean read, boolean write)
          Constructs an AccessRightEvent object.
 
Method Summary
 boolean getReadAccess()
          Returns the read access value associated with this event.
 boolean getWriteAccess()
          Returns the write access value associated with this event.
 
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
 

Field Detail

_read

protected boolean _read

_write

protected boolean _write
Constructor Detail

AccessRightsEvent

public AccessRightsEvent(Channel channel,
                         boolean read,
                         boolean write)
Constructs an AccessRightEvent object.

Parameters:
channel - the event source.
read - the new read access value.
write - the new write access value.
Method Detail

getReadAccess

public boolean getReadAccess()
Returns the read access value associated with this event.


getWriteAccess

public boolean getWriteAccess()
Returns the write access value associated with this event.



Copyright © 2004-2008 Cosylab. All Rights Reserved.