Avaya Conferencing Provider API

com.avaya.conferencing.api.acp.control.events
Class StateChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.avaya.conferencing.api.acp.control.events.StateChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class StateChangeEvent
extends java.util.EventObject

A state change event.

Since:
5.1.0.0.29
See Also:
StateChangeListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StateChangeEvent(ConferencingObject<? extends ConferencingObject<?>> source, State state, boolean newValue)
          Constructs a prototypical Event.
 
Method Summary
 ConferencingObject<? extends ConferencingObject<?>> getSource()
          The conferencing object on which the Event occurred.
 State getState()
          Returns the state change reported by this StateChangeEvent object.
 boolean isNewValue()
          Returns true if the state is now present.
 boolean isOldValue()
          Returns true if the state was previously present.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateChangeEvent

public StateChangeEvent(ConferencingObject<? extends ConferencingObject<?>> source,
                        State state,
                        boolean newValue)
Constructs a prototypical Event.

Parameters:
source - The object on which the Event initially occurred.
state - The state that has changed.
newValue - The new value.
Throws:
java.lang.IllegalArgumentException - if source is null.
Since:
5.1.0.0.29
Method Detail

getState

public State getState()
Returns the state change reported by this StateChangeEvent object.

Returns:
The state change reported by this StateChangeEvent object.
Since:
5.1.0.0.29

isNewValue

public boolean isNewValue()
Returns true if the state is now present.

Returns:
true if the state is now present.
Since:
5.1.0.0.29

toString

public java.lang.String toString()

Overrides:
toString in class java.util.EventObject
Since:
5.1.0.0.29

getSource

public ConferencingObject<? extends ConferencingObject<?>> getSource()
The conferencing object on which the Event occurred.

Overrides:
getSource in class java.util.EventObject
Returns:
The conferencing object on which the Event occurred.
Since:
5.1.0.0.29

isOldValue

public boolean isOldValue()
Returns true if the state was previously present.

Returns:
true if the state was previously present.
Since:
5.1.0.0.29

Avaya Conferencing Provider API

Copyright © 2008-2009 Avaya. All Rights Reserved.