Belle II Software  release-05-01-25
ZMQNullConnection.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #include <framework/pcore/zmq/connections/ZMQNullConnection.h>
11 
12 using namespace Belle2;
13 
15 {
16  B2FATAL("There should be no data coming here!");
17 }
18 
19 std::vector<zmq::socket_t*> ZMQNullConnection::getSockets() const
20 {
21  return {};
22 }
Belle2::ZMQNullConnection::getSockets
std::vector< zmq::socket_t * > getSockets() const final
There is no socket, so just return an empty list.
Definition: ZMQNullConnection.cc:19
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ZMQNullConnection::handleIncomingData
void handleIncomingData()
Raise an exception if called - there should never be any incoming message.
Definition: ZMQNullConnection.cc:14