MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / createSocket

Method createSocket

libminifi/src/io/StreamFactory.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 std::unique_ptr<Socket> createSocket(const std::string &host, const uint16_t port) {
60 T *socket = create(host, port);
61 return std::unique_ptr<Socket>(socket);
62 }
63
64 std::unique_ptr<Socket> createSecureSocket(const std::string &host, const uint16_t port, const std::shared_ptr<minifi::controllers::SSLContextService> &ssl_service) {
65#ifdef OPENSSL_SUPPORT

Callers 4

mainFunction · 0.45
SocketTests.cppFile · 0.45
onTriggerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected