OpenSDN source code
sandesh_util.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
3
* Copyright Contributors to the OpenSDN project
4
*/
5
6
//
7
// sandesh_util.h
8
//
9
10
#ifndef __SANDESH_UTIL_H__
11
#define __SANDESH_UTIL_H__
12
13
#include <
io/tcp_server.h
>
14
#include <
io/udp_server.h
>
15
16
bool
MakeEndpoint
(
TcpServer::Endpoint
* ep,
const
std::string& ep_str);
17
bool
MakeEndpoint
(
UdpServer::Endpoint
* ep,
const
std::string& ep_str);
18
19
#endif
// __SANDESH_UTIL_H__
TcpServer::Endpoint
boost::asio::ip::tcp::endpoint Endpoint
Definition:
tcp_server.h:31
UdpServer::Endpoint
boost::asio::ip::udp::endpoint Endpoint
Definition:
udp_server.h:24
MakeEndpoint
bool MakeEndpoint(TcpServer::Endpoint *ep, const std::string &ep_str)
Definition:
sandesh_util.cc:19
tcp_server.h
udp_server.h
contrail
src
contrail-common
sandesh
library
cpp
sandesh_util.h
Generated by
1.9.1