|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpUIConnection
The User Interaction Service Interface provides functions to send information to, or gather information from the user. An application can use the User Interaction Service Interface independently of other services. This interface, or the IpUICall interface, shall be implemented by a Generic User Interaction SCF as a minimum requirement. The release() method, and at least one of the sendInfoReq() or the sendInfoAndCollectReq() methods shall be implemented as a minimum requirement.
| Method Summary | |
|---|---|
java.lang.String |
getOriginatingAddress()
This method gets the originating address property on the user interaction session to be used when sending information to the user. |
void |
release()
This method requests that the relationship between the application and the user interaction object be released. |
int |
sendInfoAndCollectReq(TpUIInfo info,
java.lang.String language,
TpUIVariableInfo[] variableInfo,
TpUICollectCriteria criteria,
int responseRequested)
This asynchronous method plays an announcement or sends other information to the user and collects some information from the user. |
int |
sendInfoReq(TpUIInfo info,
java.lang.String language,
TpUIVariableInfo[] variableInfo,
int repeatIndicator,
int responseRequested)
This asynchronous method plays an announcement or sends other information to the user. |
void |
setOriginatingAddress(java.lang.String origin)
This method sets the originating address property on the user interaction session to be used when sending information to the user. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
int sendInfoReq(TpUIInfo info,
java.lang.String language,
TpUIVariableInfo[] variableInfo,
int repeatIndicator,
int responseRequested)
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
P_ILLEGAL_ID,
P_ID_NOT_FOUND,
javax.slee.resource.ResourceException
info - Specifies the information to send to the user. This information can be:
- an infoID, identifying pre-defined information to be sent (announcement and/or text);
- a string, defining the text to be sent;
- a URL , identifying pre-defined information or data to be sent to or downloaded into the terminal. A URL enables the application to utilize dynamic multi-media content by reference.
- Binary Data, identifying pre-defined information or data to be sent to or downloaded into the terminal. Binary data enables the application to utilize dynamic multi-media content directly.language - Specifies the Language of the information to be sent to the user.variableInfo - Defines the variable part of the information to send to the user.repeatIndicator - Defines how many times the information shall be sent to the end-user. A value of zero (0) indicates that the announcement shall be repeated until the call or call leg is released or an abortActionReq() is sent.responseRequested - Specifies if a response is required from the call user interaction service, and any action the service should take.
TpCommonExceptions
P_INVALID_NETWORK_STATE
P_ILLEGAL_ID
P_ID_NOT_FOUND
javax.slee.resource.ResourceException
int sendInfoAndCollectReq(TpUIInfo info,
java.lang.String language,
TpUIVariableInfo[] variableInfo,
TpUICollectCriteria criteria,
int responseRequested)
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
P_ILLEGAL_ID,
P_ID_NOT_FOUND,
P_ILLEGAL_RANGE,
P_INVALID_COLLECTION_CRITERIA,
javax.slee.resource.ResourceException
info - Specifies the ID of the information to send to the user. This information can be:
- an infoID, identifying pre-defined information to be sent (announcement and/or text);
- a string, defining the text to be sent;
- a URL , identifying pre-defined information or data to be sent to or downloaded into the terminal. A URL enables the application to utilize dynamic multi-media content by reference.
- Binary Data, identifying pre-defined information or data to be sent to or downloaded into the terminal. Binary data enables the application to utilize dynamic multi-media content directly.language - Specifies the Language of the information to be sent to the user.variableInfo - Defines the variable part of the information to send to the user.criteria - Specifies additional properties for the collection of information, such as the maximum and minimum number of characters, end character, first character timeout and inter-character timeout.responseRequested - Specifies if a response is required from the call user interaction service, and any action the service should take. For this case it can especially be used to indicate e.g. the final request. If P_UI_RESPONSE_REQUIRED is not enabled by the application request, the user interaction shall nevertheless return either a sendInfoAndCollectRes or sendInfoAndCollectErr method to the application in response to this method invocation.
TpCommonExceptions
P_INVALID_NETWORK_STATE
P_ILLEGAL_ID
P_ID_NOT_FOUND
P_ILLEGAL_RANGE
P_INVALID_COLLECTION_CRITERIA
javax.slee.resource.ResourceException
void release()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
void setOriginatingAddress(java.lang.String origin)
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
P_INVALID_ADDRESS,
javax.slee.resource.ResourceException
origin - Specifies the originating address. The originating address description is sent as a TpString. However this field may contain E.164 addresses that the receiving terminal can use to reply to the message. The coding of such an E.164 address can either be local numbers or international numbers, according to the standard E.164. Examples for a local number is "0702106181" and for an international number "+46702106181".
TpCommonExceptions
P_INVALID_NETWORK_STATE
P_INVALID_ADDRESS
javax.slee.resource.ResourceException
java.lang.String getOriginatingAddress()
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
TpCommonExceptions
P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||