OpenSDN source code
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
12
class
BgpLifetimeManager
:
public
LifetimeManager
{
13
public
:
14
explicit
BgpLifetimeManager
(
BgpServer
*server,
int
task_id);
15
virtual
~BgpLifetimeManager
();
16
17
private
:
18
virtual
bool
MayDestroy
();
19
BgpServer
*
server_
;
20
21
DISALLOW_COPY_AND_ASSIGN
(
BgpLifetimeManager
);
22
};
23
24
#endif
// SRC_BGP_BGP_LIFETIME_H_
BgpLifetimeManager
Definition:
bgp_lifetime.h:12
BgpLifetimeManager::server_
BgpServer * server_
Definition:
bgp_lifetime.h:19
BgpLifetimeManager::MayDestroy
virtual bool MayDestroy()
Definition:
bgp_lifetime.cc:16
BgpLifetimeManager::DISALLOW_COPY_AND_ASSIGN
DISALLOW_COPY_AND_ASSIGN(BgpLifetimeManager)
BgpLifetimeManager::BgpLifetimeManager
BgpLifetimeManager(BgpServer *server, int task_id)
Definition:
bgp_lifetime.cc:9
BgpLifetimeManager::~BgpLifetimeManager
virtual ~BgpLifetimeManager()
Definition:
bgp_lifetime.cc:13
BgpServer
Definition:
bgp_server.h:58
LifetimeManager
Definition:
lifetime.h:188
lifetime.h
contrail
controller
src
bgp
bgp_lifetime.h
Generated by
1.9.1