Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api
Interface QueryInteraction

All Superinterfaces:
Communication, Interaction

public interface QueryInteraction
extends Interaction

Represents a QueryInteraction for some message exchange between two user agents via AS , such as SIP OPTIONS It extends a Interaction.

QueryInteraction is created by the SFT internally for the incoming OPTIONS request. Upon the creation of QueryInteraction, CommunicationEvent.Type.QUERYING event will be invoked on the CommunicationBean.

QueryInteraction is created by the SFT internally for the incoming response of OPTIONS. Upon the creation of QueryInteraction, CommunicationEvent.Type.QUERIED event will be invoked on the CommunicationBean. QueryInteraction also can be created by invoking the related API . There are two ways to create this communication object:

   CommunicationSession.createQueryInteraction(String initiator)
   CommunicationSession.createQueryInteraction(String initiator, String name)
 

Nested Class Summary

 

Nested classes/interfaces inherited from interface com.oracle.sft.api.Communication
Communication.State

 

Method Summary
 CapabilityMessage createCapabilityMessage(Capability capability, Capability acceptCapability)
          send SIP OPTIONS for rcse capability discovery
 UserParticipant getParticipant()
          Retrieve the participant which receives the messages from the initiator.

 

Methods inherited from interface com.oracle.sft.api.Interaction
addParticipant, addParticipant, addParticipant, addParticipant, getParticipant, getParticipant, removeParticipant, removeParticipant, replaceParticipant, replaceParticipant

 

Methods inherited from interface com.oracle.sft.api.Communication
addAgent, end, getAgent, getAgents, getInitiator, getName, getState, removeAgent

 

Method Detail

createCapabilityMessage

CapabilityMessage createCapabilityMessage(Capability capability,
                                          Capability acceptCapability)
send SIP OPTIONS for rcse capability discovery
Parameters:
capability - : Capability
acceptCapability - : Capability
Returns:
CapabilityMessage

getParticipant

UserParticipant getParticipant()
Retrieve the participant which receives the messages from the initiator.
Returns:
The participant who receives the messages from the initiator.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.