org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.uicall
Class UICallImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui.AbstractUIImpl
      extended by org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.uicall.UICallImpl
All Implemented Interfaces:
org.csapi.IpInterfaceOperations, org.csapi.ui.IpAppUICallOperations, org.csapi.ui.IpAppUIOperations, org.mobicents.csapi.jr.slee.IpServiceConnection, org.mobicents.csapi.jr.slee.ui.IpUICallConnection, org.mobicents.csapi.jr.slee.ui.IpUIConnection, AbstractUI, UICall

public class UICallImpl
extends AbstractUIImpl
implements UICall


Field Summary
 
Fields inherited from class org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui.AbstractUIImpl
UI_NOT_VALID
 
Constructor Summary
UICallImpl(UIManager manager, org.csapi.ui.IpUICall ipUICall, int userInteractionSessionID, org.mobicents.csapi.jr.slee.ui.TpUICallIdentifier sleeTpUICallIdentifier, ActivityManager activityManager, UiListener eventListener)
           
 
Method Summary
 void abortActionErr(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIError error)
           
 void abortActionReq(int assignmentID)
           
 void abortActionRes(int userInteractionSessionID, int assignmentID)
           
 void deleteMessageErr(int usrInteractionSessionID, org.csapi.ui.TpUIError error, int assignmentID)
           
 int deleteMessageReq(int messageID)
           
 void deleteMessageRes(int usrInteractionSessionID, org.csapi.ui.TpUIReport response, int assignmentID)
           
 org.csapi.ui.IpUI getIpUI()
           
 org.csapi.ui.IpUICall getIpUICall()
          Return the underlying gateway interface.
 org.mobicents.csapi.jr.slee.ui.TpUICallIdentifier getTpUICallIdentifier()
           
 void init()
          Initialises the internal resources.
 void recordMessageErr(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIError error)
           
 int recordMessageReq(org.csapi.ui.TpUIInfo info, org.csapi.ui.TpUIMessageCriteria criteria)
           
 void recordMessageRes(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIReport response, int messageID)
           
 void release()
           
 void sendInfoAndCollectErr(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIError error)
           
 void sendInfoAndCollectRes(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIReport response, java.lang.String collectedInfo)
           
 void sendInfoErr(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIError error)
           
 void sendInfoRes(int userInteractionSessionID, int assignmentID, org.csapi.ui.TpUIReport response)
           
 void userInteractionFaultDetected(int userInteractionSessionID, org.csapi.ui.TpUIFault fault)
           
 
Methods inherited from class org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui.AbstractUIImpl
closeConnection, dispose, getActivityHandle, getActivityManager, getEventListener, getOriginatingAddress, getUiManager, getUserInteractionSessionID, sendInfoAndCollectReq, sendInfoReq, setActivityHandle, setActivityManager, setEventListener, setOriginatingAddress, setUiManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui.AbstractUI
dispose, getActivityHandle
 
Methods inherited from interface org.mobicents.csapi.jr.slee.ui.IpUIConnection
getOriginatingAddress, sendInfoAndCollectReq, sendInfoReq, setOriginatingAddress
 
Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection
closeConnection
 
Methods inherited from interface org.mobicents.csapi.jr.slee.ui.IpUIConnection
getOriginatingAddress, sendInfoAndCollectReq, sendInfoReq, setOriginatingAddress
 
Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection
closeConnection
 

Constructor Detail

UICallImpl

public UICallImpl(UIManager manager,
                  org.csapi.ui.IpUICall ipUICall,
                  int userInteractionSessionID,
                  org.mobicents.csapi.jr.slee.ui.TpUICallIdentifier sleeTpUICallIdentifier,
                  ActivityManager activityManager,
                  UiListener eventListener)
Method Detail

getIpUICall

public org.csapi.ui.IpUICall getIpUICall()
Description copied from interface: UICall
Return the underlying gateway interface.

Specified by:
getIpUICall in interface UICall
Returns:

getTpUICallIdentifier

public org.mobicents.csapi.jr.slee.ui.TpUICallIdentifier getTpUICallIdentifier()
Specified by:
getTpUICallIdentifier in interface UICall
Returns:

init

public void init()
Description copied from interface: AbstractUI
Initialises the internal resources.

Specified by:
init in interface AbstractUI

recordMessageReq

public final int recordMessageReq(org.csapi.ui.TpUIInfo info,
                                  org.csapi.ui.TpUIMessageCriteria criteria)
                           throws org.csapi.TpCommonExceptions,
                                  org.csapi.P_INVALID_NETWORK_STATE,
                                  org.csapi.ui.P_ILLEGAL_ID,
                                  org.csapi.ui.P_ID_NOT_FOUND,
                                  org.csapi.P_INVALID_CRITERIA,
                                  javax.slee.resource.ResourceException
Specified by:
recordMessageReq in interface org.mobicents.csapi.jr.slee.ui.IpUICallConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
org.csapi.ui.P_ILLEGAL_ID
org.csapi.ui.P_ID_NOT_FOUND
org.csapi.P_INVALID_CRITERIA
javax.slee.resource.ResourceException

deleteMessageReq

public final int deleteMessageReq(int messageID)
                           throws org.csapi.TpCommonExceptions,
                                  org.csapi.ui.P_ILLEGAL_ID,
                                  org.csapi.ui.P_ID_NOT_FOUND,
                                  javax.slee.resource.ResourceException
Specified by:
deleteMessageReq in interface org.mobicents.csapi.jr.slee.ui.IpUICallConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.ui.P_ILLEGAL_ID
org.csapi.ui.P_ID_NOT_FOUND
javax.slee.resource.ResourceException

abortActionReq

public void abortActionReq(int assignmentID)
                    throws org.csapi.TpCommonExceptions,
                           org.csapi.P_INVALID_ASSIGNMENT_ID,
                           javax.slee.resource.ResourceException
Specified by:
abortActionReq in interface org.mobicents.csapi.jr.slee.ui.IpUICallConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_ASSIGNMENT_ID
javax.slee.resource.ResourceException

recordMessageRes

public void recordMessageRes(int userInteractionSessionID,
                             int assignmentID,
                             org.csapi.ui.TpUIReport response,
                             int messageID)
Specified by:
recordMessageRes in interface org.csapi.ui.IpAppUICallOperations

recordMessageErr

public void recordMessageErr(int userInteractionSessionID,
                             int assignmentID,
                             org.csapi.ui.TpUIError error)
Specified by:
recordMessageErr in interface org.csapi.ui.IpAppUICallOperations

deleteMessageRes

public void deleteMessageRes(int usrInteractionSessionID,
                             org.csapi.ui.TpUIReport response,
                             int assignmentID)
Specified by:
deleteMessageRes in interface org.csapi.ui.IpAppUICallOperations

deleteMessageErr

public void deleteMessageErr(int usrInteractionSessionID,
                             org.csapi.ui.TpUIError error,
                             int assignmentID)
Specified by:
deleteMessageErr in interface org.csapi.ui.IpAppUICallOperations

abortActionRes

public void abortActionRes(int userInteractionSessionID,
                           int assignmentID)
Specified by:
abortActionRes in interface org.csapi.ui.IpAppUICallOperations

abortActionErr

public void abortActionErr(int userInteractionSessionID,
                           int assignmentID,
                           org.csapi.ui.TpUIError error)
Specified by:
abortActionErr in interface org.csapi.ui.IpAppUICallOperations

sendInfoRes

public final void sendInfoRes(int userInteractionSessionID,
                              int assignmentID,
                              org.csapi.ui.TpUIReport response)
Specified by:
sendInfoRes in interface org.csapi.ui.IpAppUIOperations

sendInfoErr

public final void sendInfoErr(int userInteractionSessionID,
                              int assignmentID,
                              org.csapi.ui.TpUIError error)
Specified by:
sendInfoErr in interface org.csapi.ui.IpAppUIOperations

sendInfoAndCollectRes

public final void sendInfoAndCollectRes(int userInteractionSessionID,
                                        int assignmentID,
                                        org.csapi.ui.TpUIReport response,
                                        java.lang.String collectedInfo)
Specified by:
sendInfoAndCollectRes in interface org.csapi.ui.IpAppUIOperations

sendInfoAndCollectErr

public final void sendInfoAndCollectErr(int userInteractionSessionID,
                                        int assignmentID,
                                        org.csapi.ui.TpUIError error)
Specified by:
sendInfoAndCollectErr in interface org.csapi.ui.IpAppUIOperations

userInteractionFaultDetected

public final void userInteractionFaultDetected(int userInteractionSessionID,
                                               org.csapi.ui.TpUIFault fault)
Specified by:
userInteractionFaultDetected in interface org.csapi.ui.IpAppUIOperations

getIpUI

public org.csapi.ui.IpUI getIpUI()
Specified by:
getIpUI in interface AbstractUI
Specified by:
getIpUI in class AbstractUIImpl
Returns:
Parlay Gateway CORBA IOR e.g. IpUI or IpUICall

release

public final void release()
                   throws org.csapi.TpCommonExceptions,
                          javax.slee.resource.ResourceException
Specified by:
release in interface org.mobicents.csapi.jr.slee.ui.IpUIConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException


Copyright © 2008. All Rights Reserved.