OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sandesh_util.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 //
6 // sandesh_util.h
7 //
8 
9 #ifndef __SANDESH_UTIL_H__
10 #define __SANDESH_UTIL_H__
11 
12 #include <io/tcp_server.h>
13 #include <io/udp_server.h>
14 
15 bool MakeEndpoint(TcpServer::Endpoint* ep, const std::string& ep_str);
16 bool MakeEndpoint(UdpServer::Endpoint* ep, const std::string& ep_str);
17 
18 #endif // __SANDESH_UTIL_H__
bool MakeEndpoint(TcpServer::Endpoint *ep, const std::string &epstr)
Definition: sandesh_util.cc:18
boost::asio::ip::udp::endpoint Endpoint
Definition: udp_server.h:20
boost::asio::ip::tcp::endpoint Endpoint
Definition: tcp_server.h:30