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