preCICE v3.2.0
Loading...
Searching...
No Matches
SocketCommunicationFactory.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <string>
8
9namespace precice::com {
11public:
12 SocketCommunicationFactory(unsigned short portNumber = 0,
13 bool reuseAddress = false,
16
18
20
22
23private:
24 unsigned short _portNumber;
28};
29} // namespace precice::com
SocketCommunicationFactory(unsigned short portNumber=0, bool reuseAddress=false, std::string networkName=utils::networking::loopbackInterfaceName(), std::string addressDirectory=".")
contains the data communication abstraction layer.
std::shared_ptr< Communication > PtrCommunication
std::string loopbackInterfaceName()
Returns the name of the canonical loopback interface on this system.
Definition networking.cpp:5