javax.telephony.events
Interface ConnEv

All Superinterfaces:
CallEv, Ev
All Known Subinterfaces:
CallCentConnEv, CallCentConnInProgressEv, CallCtlConnAlertingEv, CallCtlConnDialingEv, CallCtlConnDisconnectedEv, CallCtlConnEstablishedEv, CallCtlConnEv, CallCtlConnFailedEv, CallCtlConnInitiatedEv, CallCtlConnNetworkAlertingEv, CallCtlConnNetworkReachedEv, CallCtlConnOfferedEv, CallCtlConnQueuedEv, CallCtlConnUnknownEv, ConnAlertingEv, ConnConnectedEv, ConnCreatedEv, ConnDisconnectedEv, ConnFailedEv, ConnInProgressEv, ConnUnknownEv, ITsapiConnNetworkReachedEvent, LucentConnNetworkReachedEvent

public interface ConnEv
extends CallEv

The ConnEv interface is the base event interface for all Connection-related events. All events which pertain to the Connection object must extend this interface. This interface extends the CallEv interface and therefore is reported via the CallObserver interface.

The core package defines events which are reported when the Connection changes state. These events are: ConnInProgressEv, ConnAlertingEv, ConnConnectedEv, ConnDisconnectedEv, ConnFailedEv, and ConnUnknownEv. Also, the ConnCreatedEv is sent when a new Connection is created.

The ConnEv.getConnection() method on this interface returns the Connection associated with this Connection event.

See Also:
Connection, CallObserver, CallEv, ConnCreatedEv, ConnInProgressEv, ConnAlertingEv, ConnConnectedEv, ConnDisconnectedEv, ConnFailedEv, ConnUnknownEv

Field Summary
 
Fields inherited from interface javax.telephony.events.Ev
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
 
Method Summary
 Connection getConnection()
          Returns the Connection associated with this Connection event.
 
Methods inherited from interface javax.telephony.events.CallEv
getCall
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 

Method Detail

getConnection

public Connection getConnection()
Returns the Connection associated with this Connection event.

Returns:
The Connection associated with this event.


Copyright © 2005 Avaya All Rights Reserved.