Belle II Software  release-08-01-10
ZMQNullConnection.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #include <framework/pcore/zmq/connections/ZMQNullConnection.h>
9 
10 using namespace Belle2;
11 
13 {
14  B2FATAL("There should be no data coming here!");
15 }
16 
17 std::vector<zmq::socket_t*> ZMQNullConnection::getSockets() const
18 {
19  return {};
20 }
void handleIncomingData()
Raise an exception if called - there should never be any incoming message.
std::vector< zmq::socket_t * > getSockets() const final
There is no socket, so just return an empty list.
Abstract base class for different kinds of events.