Line | |
---|
1 | // transport_listener.hpp, created on 01.07.2009 by Sebastian Mies |
---|
2 | |
---|
3 | #ifndef TRANSPORT_LISTENER_HPP_ |
---|
4 | #define TRANSPORT_LISTENER_HPP_ |
---|
5 | |
---|
6 | #include "ariba/utility/addressing/addressing.hpp" |
---|
7 | |
---|
8 | // namespace ariba::transport |
---|
9 | namespace ariba { |
---|
10 | namespace transport { |
---|
11 | |
---|
12 | using namespace ariba::addressing; |
---|
13 | |
---|
14 | class transport_protocol; |
---|
15 | |
---|
16 | /** |
---|
17 | * TODO: Doc |
---|
18 | * |
---|
19 | * @author Sebastian Mies <mies@tm.uka.de> |
---|
20 | */ |
---|
21 | class transport_listener { |
---|
22 | public: |
---|
23 | /// called when a message is received |
---|
24 | virtual void receive_message( |
---|
25 | transport_protocol* transport, |
---|
26 | const address_vf local, const address_vf remote, |
---|
27 | const uint8_t* data, size_t size |
---|
28 | ) { |
---|
29 | std::cout << "transport_listener: not implemented" << std::endl; |
---|
30 | } |
---|
31 | }; |
---|
32 | |
---|
33 | }} // namespace ariba::transport |
---|
34 | |
---|
35 | |
---|
36 | #endif /* TRANSPORT_LISTENER_HPP_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.