IBR-DTNSuite
0.12
Main Page
Namespaces
Classes
Files
File List
File Members
P2PDialupEvent.h
Go to the documentation of this file.
1
/*
2
* P2PDialupEvent.h
3
*
4
* Created on: 25.02.2013
5
* Author: morgenro
6
*/
7
8
#ifndef P2PDIALUPEVENT_H_
9
#define P2PDIALUPEVENT_H_
10
11
#include "
core/Event.h
"
12
#include <
ibrcommon/net/vinterface.h
>
13
14
namespace
dtn
15
{
16
namespace
net
17
{
18
class
P2PDialupEvent
:
public
dtn::core::Event
19
{
20
public
:
21
enum
p2p_event_type
{
22
INTERFACE_UP
,
23
INTERFACE_DOWN
24
};
25
26
virtual
~P2PDialupEvent
();
27
28
const
std::string
getName
()
const
;
29
30
std::string
getMessage
()
const
;
31
32
static
const
std::string
className
;
33
34
static
void
raise
(
p2p_event_type
,
const
ibrcommon::vinterface
&);
35
36
const
p2p_event_type
type
;
37
const
ibrcommon::vinterface
iface
;
38
39
private
:
40
P2PDialupEvent
(
p2p_event_type
t,
const
ibrcommon::vinterface
&);
41
};
42
}
/* namespace net */
43
}
/* namespace dtn */
44
#endif
/* P2PDIALUPEVENT_H_ */
daemon
src
net
P2PDialupEvent.h
Generated on Thu Mar 27 2014 09:26:20 for IBR-DTNSuite by
1.8.4