B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Enumerations | Variables
sockets_session.h File Reference
#include <stdio.h>
+ Include dependency graph for sockets_session.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  Network
 
struct  NetworkDeclaration
 
struct  Networks
 
struct  ServerDeclaration
 
struct  SocketDeclaration
 

Macros

#define DEFAULT_RECVBUF_SIZE   0
 
#define DEFAULT_SENDBUF_SIZE   0
 
#define END_OF_NETLIST   NoSocket
 
#define END_OF_SERVERS   { NoThread }
 
#define END_OF_SOCKETS   { NoThread }
 
#define IS_NOT_NETLIST_END(netlist)   (*(netlist) != NoSocket)
 
#define IS_NOT_NULL_SERV_DECL(srv_decl)   ( (srv_decl)->ServerDeclaration_1stfield != NoThread )
 
#define IS_NOT_NULL_SOCKET_DECL(srv_decl)   ( (srv_decl)->SocketDeclaration_1stfield != NoThread )
 
#define MAX_NETWORK_COUNT   5
 
#define MAX_SERVER_IN_THREAD   8
 
#define MAX_SERVER_ON_NETWORK   16
 
#define MAX_SOCKET_ID   16
 
#define MAX_SOCKETS_IN_NETLIST   4
 
#define MAX_SOCKETS_ON_SERVER   8
 
#define SELECT_INDEFINITELY   -1
 
#define SELECT_NO_WAIT   0
 
#define ServerDeclaration_1stfield   threadID
 
#define SocketDeclaration_1stfield   threadID
 

Typedefs

typedef struct SocketDeclaration SocketDeclaration
 

Enumerations

enum  AutoRecreate { NO_AUTO_RECREATE = 0, AUTO_RECREATE }
 
enum  LoggerNetEnums {
  LoggerNetwork = 100, AnyLogClientThread, TCPLOGServer, LOG_TELNET_TCP_SOCK,
  LOG_TELNET_SOCK, LogSvrThread, LOG_SVR_SOCK, FIFOLogClient,
  FIFOGlobLogClient
}
 
enum  NetworkID { NoNetwork, FIXProxyRiskCheckNetwork }
 
enum  ServerID { NoServer = 0, TCPSRVCOMMServer }
 
enum  ServerType { TCP = 1, FIFO, REAL_FIFO }
 
enum  SocketBlockingType { BLOCKING_CALLS = 0, NON_BLOCKING_CALLS }
 
enum  SocketID {
  NoSocket = 0, SRV_COMM_SOCK, TO_SRV_SERVER_SOCK, SRV_SERVER_SOCK,
  BPE_SERVER_SOCK, DROP_SRV_SERVER_SOCK, TRG_DROP_SRV_SERVER_SOCK
}
 
enum  SocketListenType { NOT_LISTENING = 0, LISTENING }
 
enum  ThreadID { NoThread = 0, SRVCommThread }
 

Variables

struct NetworkDeclaration dummyNetworkDecl
 

Macro Definition Documentation

#define DEFAULT_RECVBUF_SIZE   0
#define DEFAULT_SENDBUF_SIZE   0
#define END_OF_NETLIST   NoSocket
#define END_OF_SERVERS   { NoThread }
#define END_OF_SOCKETS   { NoThread }
#define IS_NOT_NETLIST_END (   netlist)    (*(netlist) != NoSocket)
#define IS_NOT_NULL_SERV_DECL (   srv_decl)    ( (srv_decl)->ServerDeclaration_1stfield != NoThread )
#define IS_NOT_NULL_SOCKET_DECL (   srv_decl)    ( (srv_decl)->SocketDeclaration_1stfield != NoThread )
#define MAX_NETWORK_COUNT   5
#define MAX_SERVER_IN_THREAD   8
#define MAX_SERVER_ON_NETWORK   16
#define MAX_SOCKET_ID   16
#define MAX_SOCKETS_IN_NETLIST   4
#define MAX_SOCKETS_ON_SERVER   8
#define SELECT_INDEFINITELY   -1
#define SELECT_NO_WAIT   0
#define ServerDeclaration_1stfield   threadID
#define SocketDeclaration_1stfield   threadID

Typedef Documentation

Enumeration Type Documentation

Enumerator
NO_AUTO_RECREATE 
AUTO_RECREATE 
Enumerator
LoggerNetwork 
AnyLogClientThread 
TCPLOGServer 
LOG_TELNET_TCP_SOCK 
LOG_TELNET_SOCK 
LogSvrThread 
LOG_SVR_SOCK 
FIFOLogClient 
FIFOGlobLogClient 
enum NetworkID
Enumerator
NoNetwork 
FIXProxyRiskCheckNetwork 
enum ServerID
Enumerator
NoServer 
TCPSRVCOMMServer 
enum ServerType
Enumerator
TCP 
FIFO 
REAL_FIFO 
Enumerator
BLOCKING_CALLS 
NON_BLOCKING_CALLS 
enum SocketID
Enumerator
NoSocket 
SRV_COMM_SOCK 
TO_SRV_SERVER_SOCK 
SRV_SERVER_SOCK 
BPE_SERVER_SOCK 
DROP_SRV_SERVER_SOCK 
TRG_DROP_SRV_SERVER_SOCK 
Enumerator
NOT_LISTENING 
LISTENING 
enum ThreadID
Enumerator
NoThread 
SRVCommThread 

Variable Documentation

struct NetworkDeclaration dummyNetworkDecl