LLRP_SConnection Struct Reference

Structure of an LLRP connection instance. More...

#include <ltkc_connection.h>

List of all members.

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

Detailed Description

Structure of an LLRP connection instance.

An LLRP connection consists of:


Member Data Documentation

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()

Count of bytes currently in buffer

Count of bytes currently in buffer (from last send)

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.

Error message if openConnectionToReader() or close...() fail

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


The documentation for this struct was generated from the following file:
Generated on Wed Aug 7 04:08:19 2019 for Mercury C API by  doxygen 1.6.3