User's Manual

CAEN RFID API Reference Manual
85
CAENRFIDNotify Class
The CAENRFIDNotify class defines the structure of a notification message.
In both Java and C# lanuguage this class is composed by methods while in C language is present as a struct (for more
informations see § Overview on SDK pag.7):
C representation:
typedef struct {
byte ID[MAX_ID_LENGTH];
short Length;
int EvtType;
CAENRFIDProtocol Type;
char LogicalSource[MAX_LOGICAL_SOURCE_NAME];
struct timeval TimeStamp;
short RSSI;
char ReadPoint[MAX_READPOINT_NAME];
byte TID[MAX_TID_SIZE];
short TIDLen;
} CAENRFIDNotify;
getDate Method
Description:
This method returns a timestamp representing the time at which the event was generated.
Return value:
The timestamp value.
Syntax:
C# representation:
public DateTime getDate()
JAVA representation:
public java.util.Date getDate()
getReadPoint Method
Description:
This method returns the read point that has detected the tag.
Return value:
The name of the read point that has detected the Tag.
Syntax:
C# representation:
public string getReadPoint()
JAVA representation:
public java.lang.String getReadPoint()