Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api.context
Interface EventReason

All Superinterfaces:
ContextElement

public interface EventReason
extends ContextElement

EventReason interface is used by applications to get the cause of the event. This is usually available when a party reject the call. Applications would use CommunicationContext.getContextElement method to get an instance of EventReason.

See Also:
CommunicationContext

Method Summary
 ReasonData createReasonData(Reason reasonType)
          Create a ReasonData with specified Reason type and add it into this EventReason.
 List<ReasonData> getReasonData()
          Set of ReasonData for this event.
 List<WarningData> getWarningData()
          Set of WarningData for this event.

 

Methods inherited from interface com.oracle.sft.api.ContextElement
isUpdatable

 

Method Detail

getReasonData

List<ReasonData> getReasonData()
Set of ReasonData for this event. In most of the cases this returns only one ReasonData. However, some events might have more than Reason associated with it. Please REFER to RFC 3326 for Reason header in SIP.
Returns:
An instance of ReasonData.

createReasonData

ReasonData createReasonData(Reason reasonType)
Create a ReasonData with specified Reason type and add it into this EventReason.
Parameters:
reasonType -

getWarningData

List<WarningData> getWarningData()
Set of WarningData for this event. Please REFER to RFC 3261 for Warning header in SIP.
Returns:
An instance of WarningData.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.