Structure of an LLRP connection instance. More...
#include <ltkc_connection.h>
Public Attributes | |
| int | fd |
| unsigned int | nBufferSize |
| const char * | pConnectErrorStr |
| LLRP_tSMessage * | pInputQueue |
| const LLRP_tSTypeRegistry * | pTypeRegistry |
| struct { | |
| int bFrameValid | |
| LLRP_tSErrorDetails ErrorDetails | |
| LLRP_tSFrameExtract FrameExtract | |
| unsigned int nBuffer | |
| unsigned char * pBuffer | |
| } | Recv |
| struct { | |
| LLRP_tSErrorDetails ErrorDetails | |
| unsigned int nBuffer | |
| unsigned char * pBuffer | |
| } | Send |
Structure of an LLRP connection instance.
An LLRP connection consists of:
Definition at line 64 of file ltkc_connection.h.
Valid boolean. TRUE means the buffer and frame summary variables are valid (usable). This is always FALSE mid receive
Definition at line 94 of file ltkc_connection.h.
Details of last I/O or decoder error.
Details of last I/O or encoder error.
Definition at line 100 of file ltkc_connection.h.
The file descriptor, probably a socket
Definition at line 67 of file ltkc_connection.h.
Frame summary variables. Derived by LLRP_FrameExtract()
Definition at line 97 of file ltkc_connection.h.
| unsigned int LLRP_SConnection::nBuffer |
Count of bytes currently in buffer
Count of bytes currently in buffer (from last send)
Definition at line 89 of file ltkc_connection.h.
| unsigned int LLRP_SConnection::nBufferSize |
Size of the send/recv buffers, below, specified at construct() time
Definition at line 80 of file ltkc_connection.h.
| unsigned char* LLRP_SConnection::pBuffer |
The buffer. Contains incomming frame.
The buffer. Contains outgoing frame.
Definition at line 86 of file ltkc_connection.h.
| const char* LLRP_SConnection::pConnectErrorStr |
Error message if openConnectionToReader() or close...() fail
Definition at line 70 of file ltkc_connection.h.
Head of queue of messages already received. Probably events. the queue is a one-way, NULL terminated linked list.
Definition at line 77 of file ltkc_connection.h.
The registry to consult for message/parameter types during decode.
Definition at line 73 of file ltkc_connection.h.
| struct { ... } LLRP_SConnection::Recv |
Receive state
| struct { ... } LLRP_SConnection::Send |
Send state