public class ArRpcCallContext extends Object
Modifier and Type | Method and Description |
---|---|
AREncryptAPISessionNodeBase |
getEncCtx() |
String |
getServerCharSetName()
get the server char set name
|
ARServerContext |
getServerContext() |
ApiValueBase |
getSessionVariable(int tag)
Get session variable for a given session id.
|
int |
getTimeOutSetting(int procedureNumber)
get the timeout value in seconds for the specified RPC procedure.
|
boolean |
isAnEncryptedAPICall() |
boolean |
isLocalizedServerFlag() |
com.bmc.arsys.arrpc.ArControlStruct12 |
loadRpcControlStruct(ApiUserContextI context,
int procedureNum)
Load rpc control structure using the user context, and the call context
We create a control structure with the current client RPC version to avoid constructing the
rpc control over and over for each api call, we cache this rpc control in proxy.When prepare
a new api call, we only update the content of this rpc control structure.
|
void |
setSessionVariable(int variableId,
ApiValueBase value)
Sets the session variable of the current call context
|
public boolean isAnEncryptedAPICall()
public String getServerCharSetName()
public boolean isLocalizedServerFlag()
public ARServerContext getServerContext()
public ApiValueBase getSessionVariable(int tag)
tag
- - session idpublic void setSessionVariable(int variableId, ApiValueBase value) throws ARException
variableId
- - the id of the session variablevalue
- - the value of the session variableARException
- if the data type is not supportedpublic int getTimeOutSetting(int procedureNumber)
procedureNumber
- - the RPC procedure numberpublic com.bmc.arsys.arrpc.ArControlStruct12 loadRpcControlStruct(ApiUserContextI context, int procedureNum) throws ARException
context
- - the user context that we build rpc control structure fromARException
- if there is encoding or encryption issuepublic AREncryptAPISessionNodeBase getEncCtx()
? Copyright 2013 BMC Software, Inc.