source: source/ariba/utility/transport/transport_listener.hpp@ 8606

Last change on this file since 8606 was 5993, checked in by Christoph Mayer, 15 years ago

sigcomm release

File size: 761 bytes
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
9namespace ariba {
10namespace transport {
11
12using namespace ariba::addressing;
13
14class transport_protocol;
15
16/**
17 * TODO: Doc
18 *
19 * @author Sebastian Mies <mies@tm.uka.de>
20 */
21class transport_listener {
22public:
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.