OpenSDN source code
metadata_client.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef vnsw_agent_metadata_client_h_
7 #define vnsw_agent_metadata_client_h_
8 
11 
12 class MetadataClient : public HttpClient {
13 public:
15  virtual ~MetadataClient() {}
16 
17  virtual TcpSession *AllocSession(Socket *socket) {
18  MetadataClientSession *session =
19  new MetadataClientSession(this, socket);
20  return session;
21  }
22 
23 private:
25 };
26 
27 #endif // vnsw_agent_metadata_client_h_
virtual TcpSession * AllocSession(Socket *socket)
DISALLOW_COPY_AND_ASSIGN(MetadataClient)
virtual ~MetadataClient()
MetadataClient(EventManager *evm)
boost::asio::ip::tcp::socket Socket
Definition: tcp_server.h:32
static EventManager evm