helics
2.8.1
src
helics
network
zmq
ZmqCommsCommon.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2017-2021,
3
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4
Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5
SPDX-License-Identifier: BSD-3-Clause
6
*/
7
#pragma once
8
12
#include <chrono>
13
#include <string>
14
class
AsioContextManager
;
15
16
namespace
zmq {
17
class
socket_t;
18
}
19
20
namespace
helics
{
21
namespace
zeromq {
22
static
const
std::chrono::milliseconds defaultPeriod(200);
23
25
bool
bindzmqSocket(zmq::socket_t& socket,
26
const
std::string& address,
27
int
port,
28
std::chrono::milliseconds timeout,
29
std::chrono::milliseconds period = defaultPeriod);
31
std::string getZMQVersion();
32
}
// namespace zeromq
33
34
}
// namespace helics
AsioContextManager
Definition:
AsioContextManager.h:42
ZmqCommsCommon.h
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition:
AsyncFedCallInfo.hpp:14
helics::makePortAddress
std::string makePortAddress(const std::string &networkInterface, int portNumber)
Definition:
NetworkBrokerData.cpp:216
Generated by
1.8.17