OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
metadata_client.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef vnsw_agent_metadata_client_h_
6 #define vnsw_agent_metadata_client_h_
7 
10 
11 class MetadataClient : public HttpClient {
12 public:
14  virtual ~MetadataClient() {}
15 
16  virtual TcpSession *AllocSession(Socket *socket) {
17  MetadataClientSession *session =
18  new MetadataClientSession(this, socket);
19  return session;
20  }
21 
22 private:
24 };
25 
26 #endif // vnsw_agent_metadata_client_h_
DISALLOW_COPY_AND_ASSIGN(MetadataClient)
boost::asio::ip::tcp::socket Socket
Definition: tcp_server.h:31
MetadataClient(EventManager *evm)
virtual ~MetadataClient()
virtual TcpSession * AllocSession(Socket *socket)
static EventManager evm