com.inscoper.api.FunctionListener¶
FunctionListener class allows receiving notifications when a function is executed. More...
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| void | swigReleaseOwnership() |
| void | swigTakeOwnership() |
| void | functionExecuted(SubDeviceId subDeviceId, EFunctionType functionType) Notify function execution. |
| void | functionExecuted(SubDeviceId subDeviceId, EFunctionType functionType, UCharVector valueData, short valueType) Notify function execution with the returned value data. |
| FunctionListener() |
Protected Functions¶
| Name | |
|---|---|
| FunctionListener(long cPtr, boolean cMemoryOwn) | |
| void | finalize() |
| void | swigDirectorDisconnect() |
| long | getCPtr(FunctionListener obj) |
| long | swigRelease(FunctionListener obj) |
Protected Attributes¶
| Name | |
|---|---|
| transient boolean | swigCMemOwn |
Detailed Description¶
FunctionListener class allows receiving notifications when a function is executed.
This abstract class provides a callback mechanism for monitoring function execution events.
Public Functions Documentation¶
function delete¶
function swigReleaseOwnership¶
function swigTakeOwnership¶
function functionExecuted¶
Notify function execution.
Parameters:
- subDeviceId : The sub-device ID
- functionType : The type of the executed function
This callback method is invoked each time a function is executed. Must be overridden.
function functionExecuted¶
public void functionExecuted(
SubDeviceId subDeviceId,
EFunctionType functionType,
UCharVector valueData,
short valueType
)
Notify function execution with the returned value data.
Parameters:
- subDeviceId : The sub-device ID
- functionType : The type of the executed function
- valueData : The raw value data bytes from the InscoperBox response
- valueType : The type tag of the value (from AttrParams2)
This callback method is invoked when a function is executed and returns a value (typically for GET operations). Override this method to receive the value directly without needing a separate getValue() call.
The default implementation delegates to the 2-argument version for backward compatibility.
function FunctionListener¶
Protected Functions Documentation¶
function FunctionListener¶
function finalize¶
function swigDirectorDisconnect¶
function getCPtr¶
function swigRelease¶
Protected Attributes Documentation¶
variable swigCMemOwn¶
Updated on 2026-09-03 at 12:14:19 +0200