gov.aps.jca.event
Class AccessRightsEvent
java.lang.Object
|
+--java.util.EventObject
|
+--gov.aps.jca.event.CAEvent
|
+--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
|
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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.