#include "DQMServices/Core/interface/DQMNet.h"
#include "classlib/iobase/InetServerSocket.h"
#include "classlib/iobase/LocalServerSocket.h"
#include "classlib/sysapi/InetSocket.h"
#include "classlib/utils/SystemError.h"
#include "classlib/utils/Regexp.h"
#include <fmt/format.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <cstdio>
#include <cstdint>
#include <iostream>
#include <sstream>
#include <cassert>
#include <cfloat>
#include <cinttypes>
#include "FWCore/Utilities/interface/EDMException.h"
Go to the source code of this file.
Namespaces | |
dqm | |
dqm::qstatus | |
Macros | |
#define | MESSAGE_SIZE_LIMIT (8 * 1024 * 1024) |
#define | SOCKET_BUF_SIZE (8 * 1024 * 1024) |
#define | SOCKET_READ_GROWTH (SOCKET_BUF_SIZE) |
#define | SOCKET_READ_SIZE (SOCKET_BUF_SIZE / 8) |
Functions | |
static void * | communicate (void *obj) |
static const Regexp | s_rxmeval ("<(.*)>(i|f|s|qr)=(.*)</>") |
Variables | |
static const int | dqm::qstatus::ERROR = 300 |
static const int | dqm::qstatus::STATUS_OK = 100 |
static const int | dqm::qstatus::WARNING = 200 |
#define MESSAGE_SIZE_LIMIT (8 * 1024 * 1024) |
Definition at line 25 of file DQMNet.cc.
Referenced by DQMNet::onPeerData().
#define SOCKET_BUF_SIZE (8 * 1024 * 1024) |
Definition at line 26 of file DQMNet.cc.
Referenced by DQMNet::run(), and DQMNet::startLocalServer().
#define SOCKET_READ_GROWTH (SOCKET_BUF_SIZE) |
Definition at line 29 of file DQMNet.cc.
Referenced by DQMNet::onPeerData().
#define SOCKET_READ_SIZE (SOCKET_BUF_SIZE / 8) |
Definition at line 28 of file DQMNet.cc.
Referenced by DQMNet::onPeerData().
|
static |
A thread to communicate with the distributed memory cache peers. All this does is run the loop to respond to new connections. Much of the actual work is done when a new connection is received, and in pumping data around in response to actual requests.
Definition at line 1053 of file DQMNet.cc.
References getGTfromDQMFile::obj.
Referenced by querying.connection::_get_CMS_frontier_connection_string(), conddblib::_getCMSFrontierConnectionString(), cmsswVersionTools.PickRelValInputFiles::apply(), DQMNet::start(), and edmIntegrityCheck.IntegrityCheck::testFile().
|
static |