public interface CallResource extends ADMData, Clearable, EventProcedure, PersistableProcedure, Remotable, UniqueID
Modifier and Type | Method and Description |
---|---|
handle |
getAsyncHandle()
Get the
ASYNC-REQUEST-HANDLE attribute of this CALL resource. |
character |
getCallName()
Get the
CALL-NAME attribute of this CALL resource. |
integer |
getCallType()
Get the
CALL-TYPE attribute of this CALL resource. |
handle |
getInHandle()
Get the
IN-HANDLE attribute of this CALL resource. |
character |
getLibrary()
Get the
LIBRARY attribute of this CALL resource. |
character |
getLibraryCallingConvention()
Get the
LIBRARY-CALLING-CONVENTION attribute of this CALL resource. |
integer |
getNumParameters()
Get the
NUM-PARAMETERS attribute of this CALL resource. |
integer |
getOrdinal()
Get the
ORDINAL attribute of this CALL resource. |
character |
getProcedureType()
Get the
PROCEDURE-TYPE attribute of this CALL resource. |
BaseDataType |
getReturnValue()
Get the
RETURN-VALUE attribute of this CALL resource. |
character |
getReturnValueDataType()
Get the
RETURN-VALUE-DATA-TYPE attribute of this CALL resource. |
character |
getReturnValueDllType()
Get the
RETURN-VALUE-DLL-TYPE attribute of this CALL resource. |
void |
invoke()
Execute this dynamic invoke, based on the current CALL configuration.
|
logical |
isAsync()
Get the
ASYNCHRONOUS attribute of this CALL resource. |
logical |
isParameterSet(int paramNum)
Check if the specified parameter is set.
|
logical |
isParameterSet(NumberType paramNum)
Check if the specified parameter is set.
|
logical |
isThreadSafe()
Get the
THREAD-SAFE attribute of this CALL resource. |
void |
setAsync(boolean l)
Set the
ASYNCHRONOUS attribute of this CALL resource. |
void |
setAsync(logical l)
Set the
ASYNCHRONOUS attribute of this CALL resource. |
void |
setCallName(character callName)
Set the
CALL-NAME attribute of this CALL resource. |
void |
setCallName(java.lang.String callName)
Set the
CALL-NAME attribute of this CALL resource. |
void |
setCallType(int callType)
Set the
CALL-TYPE attribute of this CALL resource. |
void |
setCallType(NumberType callType)
Set the
CALL-TYPE attribute of this CALL resource. |
void |
setInHandle(character resource)
Set the
IN-HANDLE attribute of this CALL resource. |
void |
setInHandle(handle h)
Set the
IN-HANDLE attribute of this CALL resource. |
void |
setInHandle(java.lang.String resource)
Set the
IN-HANDLE attribute of this CALL resource. |
void |
setLibrary(character libName)
Set the
LIBRARY attribute of this CALL resource. |
void |
setLibrary(java.lang.String libName)
Set the
LIBRARY attribute of this CALL resource. |
void |
setLibraryCallingConvention(character libCall)
Set the
LIBRARY-CALLING-CONVENTION attribute of this CALL resource. |
void |
setLibraryCallingConvention(java.lang.String libCall)
Set the
LIBRARY-CALLING-CONVENTION attribute of this CALL resource. |
void |
setNumParameters(long num)
Set the
NUM-PARAMETERS attribute of this CALL resource. |
void |
setNumParameters(NumberType num)
Set the
NUM-PARAMETERS attribute of this CALL resource. |
void |
setOrdinal(int ordinal)
Set the
ORDINAL attribute of this CALL resource. |
void |
setOrdinal(NumberType ordinal)
Set the
ORDINAL attribute of this CALL resource. |
logical |
setParameter(int64 parmNum,
character dataType,
character ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(int64 parmNum,
character dataType,
java.lang.String ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(int64 parmNum,
java.lang.String dataType,
character ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(int64 parmNum,
java.lang.String dataType,
java.lang.String ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(long parmNum,
character dataType,
character ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(long parmNum,
character dataType,
java.lang.String ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(long parmNum,
java.lang.String dataType,
character ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
logical |
setParameter(long parmNum,
java.lang.String dataType,
java.lang.String ioMode,
java.lang.Object value)
Set the specified parameter for this dynamic invocation.
|
void |
setProcedureType(character procType)
Set the
PROCEDURE-TYPE attribute of this CALL resource. |
void |
setProcedureType(java.lang.String procType)
Set the
PROCEDURE-TYPE attribute of this CALL resource. |
void |
setReturnValueDataType(character dataType)
Set the
RETURN-VALUE-DATA-TYPE attribute of this CALL resource. |
void |
setReturnValueDataType(java.lang.String dataType)
Set the
RETURN-VALUE-DATA-TYPE attribute of this CALL resource. |
void |
setReturnValueDllType(character dataType)
Set the
RETURN-VALUE-DLL-TYPE attribute of this CALL resource. |
void |
setReturnValueDllType(java.lang.String dataType)
Set the
RETURN-VALUE-DLL-TYPE attribute of this CALL resource. |
void |
setThreadSafe(boolean threadSafe)
Set the
THREAD-SAFE attribute of this CALL resource. |
void |
setThreadSafe(logical threadSafe)
Set the
THREAD-SAFE attribute of this CALL resource. |
getADMData, setADMData, setADMData
getEventProcedure, getEventProcedureContext, setEventProcedure, setEventProcedure, setEventProcedureContext
isPersistent, setPersistent, setPersistent
getServerHandle, setServerHandle
getUniqueID
logical isAsync()
ASYNCHRONOUS
attribute of this CALL resource.void setAsync(logical l)
ASYNCHRONOUS
attribute of this CALL resource.l
- The new state of this flag.void setAsync(boolean l)
ASYNCHRONOUS
attribute of this CALL resource.l
- The new state of this flag.handle getAsyncHandle()
ASYNC-REQUEST-HANDLE
attribute of this CALL resource.character getCallName()
CALL-NAME
attribute of this CALL resource.void setCallName(character callName)
CALL-NAME
attribute of this CALL resource.callName
- The target's name (attribute, method, RUN's invoke target, native API).void setCallName(java.lang.String callName)
CALL-NAME
attribute of this CALL resource.callName
- The target's name (attribute, method, RUN's invoke target, native API).integer getCallType()
CALL-TYPE
attribute of this CALL resource.void setCallType(NumberType callType)
CALL-TYPE
attribute of this CALL resource.callType
- One of the call-type constant values.void setCallType(int callType)
CALL-TYPE
attribute of this CALL resource.callType
- One of the call-type constant values.handle getInHandle()
IN-HANDLE
attribute of this CALL resource.void setInHandle(handle h)
IN-HANDLE
attribute of this CALL resource.h
- The external program where the target function/procedure will be invoked or the
resource for which the attribute/method will be accessed.void setInHandle(character resource)
IN-HANDLE
attribute of this CALL resource.resource
- The external program where the target function/procedure will be invoked or the
resource for which the attribute/method will be accessed.void setInHandle(java.lang.String resource)
IN-HANDLE
attribute of this CALL resource.resource
- The external program where the target function/procedure will be invoked or the
resource for which the attribute/method will be accessed.logical isParameterSet(NumberType paramNum)
paramNum
- The 1-based parameter index.true
if the parameter is set.logical isParameterSet(int paramNum)
paramNum
- The 1-based parameter index.true
if the parameter is set.character getLibrary()
LIBRARY
attribute of this CALL resource.void setLibrary(character libName)
LIBRARY
attribute of this CALL resource.libName
- The native library name.void setLibrary(java.lang.String libName)
LIBRARY
attribute of this CALL resource.libName
- The native library name.character getLibraryCallingConvention()
LIBRARY-CALLING-CONVENTION
attribute of this CALL resource.void setLibraryCallingConvention(character libCall)
LIBRARY-CALLING-CONVENTION
attribute of this CALL resource.libCall
- The library's calling convention, CDECL or STDCALL.void setLibraryCallingConvention(java.lang.String libCall)
LIBRARY-CALLING-CONVENTION
attribute of this CALL resource.libCall
- The library's calling convention, CDECL or STDCALL.integer getNumParameters()
NUM-PARAMETERS
attribute of this CALL resource.void setNumParameters(NumberType num)
NUM-PARAMETERS
attribute of this CALL resource.num
- The number of parameters.void setNumParameters(long num)
NUM-PARAMETERS
attribute of this CALL resource.num
- The number of parameters.integer getOrdinal()
ORDINAL
attribute of this CALL resource.void setOrdinal(NumberType ordinal)
ORDINAL
attribute of this CALL resource.ordinal
- The native API ordinal, if CALL-NAME is not specified.void setOrdinal(int ordinal)
ORDINAL
attribute of this CALL resource.ordinal
- The native API ordinal, if CALL-NAME is not specified.character getProcedureType()
PROCEDURE-TYPE
attribute of this CALL resource.void setProcedureType(character procType)
PROCEDURE-TYPE
attribute of this CALL resource.procType
- The procedure's type, one of PERSISTENT, SINGLE-RUN or SINGLETON strings.void setProcedureType(java.lang.String procType)
PROCEDURE-TYPE
attribute of this CALL resource.procType
- The procedure's type, one of PERSISTENT, SINGLE-RUN or SINGLETON strings.BaseDataType getReturnValue()
RETURN-VALUE
attribute of this CALL resource.character getReturnValueDataType()
RETURN-VALUE-DATA-TYPE
attribute of this CALL resource.void setReturnValueDataType(character dataType)
RETURN-VALUE-DATA-TYPE
attribute of this CALL resource.dataType
- The return type for the next call.void setReturnValueDataType(java.lang.String dataType)
RETURN-VALUE-DATA-TYPE
attribute of this CALL resource.dataType
- The return type for the next call.character getReturnValueDllType()
RETURN-VALUE-DLL-TYPE
attribute of this CALL resource.void setReturnValueDllType(character dataType)
RETURN-VALUE-DLL-TYPE
attribute of this CALL resource.dataType
- The return type for the next native API call.void setReturnValueDllType(java.lang.String dataType)
RETURN-VALUE-DLL-TYPE
attribute of this CALL resource.dataType
- The return type for the next native API call.logical isThreadSafe()
THREAD-SAFE
attribute of this CALL resource.void setThreadSafe(logical threadSafe)
THREAD-SAFE
attribute of this CALL resource.threadSafe
- The new state of this flag.void setThreadSafe(boolean threadSafe)
THREAD-SAFE
attribute of this CALL resource.threadSafe
- The new state of this flag.void invoke()
logical setParameter(int64 parmNum, character dataType, character ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(long parmNum, character dataType, character ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(int64 parmNum, java.lang.String dataType, character ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(long parmNum, java.lang.String dataType, character ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(int64 parmNum, character dataType, java.lang.String ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(long parmNum, character dataType, java.lang.String ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(int64 parmNum, java.lang.String dataType, java.lang.String ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.logical setParameter(long parmNum, java.lang.String dataType, java.lang.String ioMode, java.lang.Object value)
parmNum
- The 1-based parameter index.dataType
- The parameter's data type.ioMode
- The parameter's mode (INPUT, OUTPUT, INPUT-OUTPUT, with -APPEND or -BY-REFERENCE
suffix).value
- The argument's value. Can be only a variable/field-ref or extent, if mode is
OUTPUT or INPUT-OUTPUT.true
if the parameter was set successfully.