javax.telephony.media.events
Interface MediaEv

All Superinterfaces:
Ev
All Known Subinterfaces:
MediaTermConnAvailableEv, MediaTermConnDtmfEv, MediaTermConnEv, MediaTermConnStateEv, MediaTermConnUnavailableEv

public interface MediaEv
extends Ev

The MediaEv is the base event for all events in the Media package. Each event in this package must extend this interface. This interface is not meant to be a public interface, it is just a building block for other event interfaces.

The MediaEv interface contains getMediaCause(), which returns the reason for the event.


Field Summary
static int CAUSE_NORMAL
          Cause code indicating normal operation
static int CAUSE_UNKNOWN
          Cause code indicating the cause was unknown
 
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_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, 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
 int getMediaCause()
          Returns the media and core causes associated with this event.
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 

Field Detail

CAUSE_NORMAL

public static final int CAUSE_NORMAL
Cause code indicating normal operation

See Also:
Constant Field Values

CAUSE_UNKNOWN

public static final int CAUSE_UNKNOWN
Cause code indicating the cause was unknown

See Also:
Constant Field Values
Method Detail

getMediaCause

public int getMediaCause()
Returns the media and core causes associated with this event. Every event has a cause. The various cause values are defined as public static final variablies in this interface, with the exception of CAUSE_NORMAL and CAUSE_UNKNOWN, which are defined in the core.



Copyright © 2005 Avaya All Rights Reserved.