public abstract class InterProcessCommRx_ifc
extends java.lang.Object
InterProcessCommRxThread.
It is used to implement the callback on received data.
For C-Usage an anonymous implementation can be build with the macro IFC_IMPL_dataMETHOD1_ObjectJc(TYPE, METHOD)
with a simple given C implementation of the execRxData(byte[], int, Address_InterProcessComm) method.| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
data
This data pointer can be set by any application.
|
static java.lang.String |
version
Version, history and license.
|
| Constructor and Description |
|---|
InterProcessCommRx_ifc() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execRxData(byte[] buffer,
int nrofBytesReceived,
Address_InterProcessComm sender)
Callback routine for received data.
|
public static final java.lang.String version
public java.lang.Object data
#execRxData(byte[], int)
by this base class. Especially an application in C does not need to extend this class by additional data,
instead use #data as reference.public abstract void execRxData(byte[] buffer,
int nrofBytesReceived,
Address_InterProcessComm sender)
buffer - nrofBytesReceived - sender - The sender of the data.