OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bgp_lifetime.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef SRC_BGP_BGP_LIFETIME_H_
6 #define SRC_BGP_BGP_LIFETIME_H_
7 
8 #include "base/lifetime.h"
9 
10 class BgpServer;
11 
13 public:
14  explicit BgpLifetimeManager(BgpServer *server, int task_id);
15  virtual ~BgpLifetimeManager();
16 
17 private:
18  virtual bool MayDestroy();
20 
22 };
23 
24 #endif // SRC_BGP_BGP_LIFETIME_H_
DISALLOW_COPY_AND_ASSIGN(BgpLifetimeManager)
BgpLifetimeManager(BgpServer *server, int task_id)
Definition: bgp_lifetime.cc:9
BgpServer * server_
Definition: bgp_lifetime.h:19
virtual ~BgpLifetimeManager()
Definition: bgp_lifetime.cc:13
virtual bool MayDestroy()
Definition: bgp_lifetime.cc:16