FACT++  1.0
READ_STRUCT Struct Reference

Public Types

enum  buftyp_t { kStream, kHeader, kData }
 

Public Member Functions

uint32_t len () const
 
void swapHeader ()
 
void swapData ()
 
 READ_STRUCT ()
 
 ~READ_STRUCT ()
 
void destroy ()
 
bool create (sockaddr_in addr)
 
bool check (int, sockaddr_in addr)
 
bool read ()
 

Static Public Member Functions

static void init ()
 
static void close ()
 
static int wait ()
 
static READ_STRUCTget (int i)
 

Public Attributes

int sockId
 
int socket
 
bool connected
 
struct sockaddr_in SockAddr
 
buftyp_t bufTyp
 
uint32_t bufLen
 
uint8_t * bufPos
 
union {
   uint8_t   B [MAX_LEN]
 
   uint16_t   S [MAX_LEN/2]
 
   uint32_t   I [MAX_LEN/4]
 
   uint64_t   L [MAX_LEN/8]
 
   PEVNT_HEADER   H
 
}; 
 
timeval time
 
uint64_t totBytes
 
uint64_t relBytes
 
uint32_t skip
 

Static Public Attributes

static uint activeSockets = 0
 
static int fd_epoll = -1
 
static epoll_event events [NBOARDS]
 

Detailed Description

Definition at line 165 of file EventBuilder.cc.


The documentation for this struct was generated from the following file: