Struct asTrapWriteMessage
Defined in File asTrapWrite.h
Struct Documentation
-
struct asTrapWriteMessage
The message passed to registered listeners.
Public Members
-
const char *userid
Userid of whoever originated the request.
-
const char *hostid
Hostid of whoever originated the request.
-
void *serverSpecific
A field for use by the server.
Any listener that uses this field must know what type of server is forwarding the put requests. This pointer holds the value the server provides to asTrapWriteWithData(), which for RSRV is the dbChannel pointer for the target field.
-
void *userPvt
A field for use by the asTrapWriteListener.
When the listener is called before the write, this has the value 0. The listener can give it any value it desires and it will have the same value when the listener gets called again after the write.
-
int dbrType
Data type from ca/db_access.h, NOT dbFldTypes.h.
-
int no_elements
Array length
-
void *data
Might be NULL if no data is available.
-
const char *userid