org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui
Class UIGenericImpl
java.lang.Object
org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui.AbstractUIImpl
org.mobicents.slee.resource.parlay.csapi.jr.ui.activity.ui.UIGenericImpl
- All Implemented Interfaces:
- org.csapi.IpInterfaceOperations, org.csapi.ui.IpAppUIOperations, org.mobicents.csapi.jr.slee.IpServiceConnection, org.mobicents.csapi.jr.slee.ui.IpUIConnection, AbstractUI, UIGeneric
public class UIGenericImpl
- extends AbstractUIImpl
- implements UIGeneric
There is some duplication between the test classes for the UIGenericImpl and
UICallImpl activities. There is inheritance for the implementations but not
here in the testers, so need to be careful to keep them in line.
|
Method Summary |
org.csapi.ui.IpUI |
getIpUI()
|
org.mobicents.csapi.jr.slee.ui.TpUIIdentifier |
getTpUIIdentifier()
|
void |
init()
Initialises the internal resources. |
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.csapi.jr.slee.ui.IpUIConnection |
getOriginatingAddress, sendInfoAndCollectReq, sendInfoReq, setOriginatingAddress |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
closeConnection |
UIGenericImpl
public UIGenericImpl(UIManager manager,
org.csapi.ui.IpUI ipUI,
int userInteractionSessionID,
org.mobicents.csapi.jr.slee.ui.TpUIIdentifier sleeTpUIIdentifier,
ActivityManager activityManager,
UiListener eventListener)
- Parameters:
manager - ipUI - from ParlayuserInteractionSessionID - from ParlaytpUIIdentifier - used by SLEE API ( part is same as Parlay userInteractionSessionID)activityManager - eventListener -
init
public void init()
- Description copied from interface:
AbstractUI
- Initialises the internal resources.
- Specified by:
init in interface AbstractUI
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
getTpUIIdentifier
public org.mobicents.csapi.jr.slee.ui.TpUIIdentifier getTpUIIdentifier()
- Specified by:
getTpUIIdentifier in interface UIGeneric
- Returns:
- SLEE UI identifier
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
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.