lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
EbLfClient.hh File Reference

EbLfClient, which opens client-side libfabric links (EbLfCltLink) to event-builder servers, and helpers that connect and configure a set of such links. More...

#include "EbLfLink.hh"
#include <string>
#include <vector>

Classes

class  Pds::Eb::EbLfClient
 Creates and tears down client-side EbLfCltLink connections; all its links share one pending word and one posting word. More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 
namespace  Pds::Eb
 Namespace of the psdaq event-builder (eb) code.
 

Functions

int Pds::Eb::linksConnect (EbLfClient &transport, std::vector< EbLfCltLink * > &links, const std::vector< std::string > &addrs, const std::vector< std::string > &ports, unsigned id, const char *name)
 Connect transport to every addrs[i]:ports[i] (14750 ms timeout each), then exchange IDs on each link and store it in links at the index of the remote ID.
 
int Pds::Eb::linksConfigure (std::vector< EbLfCltLink * > &links, void *region, size_t regSize, const char *name)
 Call linksConfigure(links, region, regSize, regSize, name).
 
int Pds::Eb::linksConfigure (std::vector< EbLfCltLink * > &links, void *region, size_t lclSize, size_t rmtSize, const char *name)
 Call EbLfCltLink::prepare(region, lclSize, rmtSize, name) on every link and log the configured region.
 

Detailed Description

EbLfClient, which opens client-side libfabric links (EbLfCltLink) to event-builder servers, and helpers that connect and configure a set of such links.