Package sk.ipesoft.d2000.d2japi
Interface RPCCallEvent
-
public interface RPCCallEventInformation about received RPC call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description sk.ipesoft.d2000.base.UnivalValue<?>[]getArguments()Values of arguments used in RPC call.intgetCallerEventHobj()HOBJ of Event object that made the call or 0 if called from JAPI.intgetCallerProcessHobj()HOBJ of EVH process that runs the caller or HOBJ of JAPI Session.intgetInterfaceHobj()Get HOBJ of ESL Interface that declares RPC.RPCReturnContextgetReturnContext()Get context used for returning values in case of synchronous RPC call ornullin case of asynchronous call.intgetSessionHobj()Get HOBJ of JAPI session handling the call event.java.lang.StringgetTargetProcedureName()Get name of called RPC procedure.booleanisCallerJava()Gettrueif RPC call has been made from D2000 internal java.
-
-
-
Method Detail
-
getArguments
sk.ipesoft.d2000.base.UnivalValue<?>[] getArguments()
Values of arguments used in RPC call.- Returns:
- arguments
-
getCallerEventHobj
int getCallerEventHobj()
HOBJ of Event object that made the call or 0 if called from JAPI.- Returns:
- HOBJ of calling Event object
-
getCallerProcessHobj
int getCallerProcessHobj()
HOBJ of EVH process that runs the caller or HOBJ of JAPI Session.- Returns:
- HOBJ of caller process executor
-
getInterfaceHobj
int getInterfaceHobj()
Get HOBJ of ESL Interface that declares RPC. Zero if no ESL interface is used.- Returns:
- HOBJ or zero.
-
getReturnContext
RPCReturnContext getReturnContext()
Get context used for returning values in case of synchronous RPC call ornullin case of asynchronous call.- Returns:
- reference to return context or
null
-
getSessionHobj
int getSessionHobj()
Get HOBJ of JAPI session handling the call event.- Returns:
- HOBJ of JAPI session
-
getTargetProcedureName
java.lang.String getTargetProcedureName()
Get name of called RPC procedure.- Returns:
- identifier of called procedure
-
isCallerJava
boolean isCallerJava()
Gettrueif RPC call has been made from D2000 internal java.- Returns:
trueif called from internal Java
-
-