OpenSDN source code
agent_signal.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
3 // Copyright Contributors to the OpenSDN project
4 //
5 
6 #ifndef AGENT_SIGNAL_H_
7 #define AGENT_SIGNAL_H_
8 
9 #include <io/process_signal.h>
10 
11 class EventManager;
12 
13 class AgentSignal {
14  public:
16  ~AgentSignal();
17 
18  void Terminate();
21 
22  private:
24 };
25 
26 #endif // AGENT_SIGNAL_H_
void Terminate()
Definition: agent_signal.cc:16
void RegisterDebugSigHandler(process::Signal::SignalHandler handler)
Definition: agent_signal.cc:24
process::Signal process_signal_
Definition: agent_signal.h:23
void RegisterSigHupHandler(process::Signal::SignalHandler handler)
Definition: agent_signal.cc:20
AgentSignal(EventManager *evm)
Definition: agent_signal.cc:8
boost::function< void(const boost::system::error_code &error, int sig)> SignalHandler
static EventManager evm