10#include <daq/rfarm/event/hltsocket/HLTMainLoop.h>
13#define D2_SOCKBUF_SIZE 8000000
24 int put(
char* data,
int len);
25 int put_wordbuf(
int* data,
int len);
26 int get(
char* data,
int len);
27 int get_wordbuf(
int* data,
int len);
29 bool accept(
unsigned int port);
30 bool connect(
const std::string& hostName,
unsigned int port,
const HLTMainLoop& mainLoop);
31 bool initialized()
const;
35 int read_data(
char* data,
int len);
36 int write_data(
char* data,
int len);
38 void close(
int socket);
42 bool m_initialized =
false;
Abstract base class for different kinds of events.