|
Last change
on this file since 10653 was 10653, checked in by Michael Tänzer, 14 years ago |
|
Merge the ASIO branch back into trunk
|
|
File size:
900 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 | #include "ariba/utility/transport/messages/buffers.hpp"
|
|---|
| 8 | #include "ariba/utility/transport/transport_connection.hpp"
|
|---|
| 9 |
|
|---|
| 10 | // namespace ariba::transport
|
|---|
| 11 | namespace ariba {
|
|---|
| 12 | namespace transport {
|
|---|
| 13 |
|
|---|
| 14 | using namespace ariba::addressing;
|
|---|
| 15 |
|
|---|
| 16 | /**
|
|---|
| 17 | * TODO: Doc
|
|---|
| 18 | *
|
|---|
| 19 | * @author Sebastian Mies <mies@tm.uka.de>
|
|---|
| 20 | */
|
|---|
| 21 | class transport_listener {
|
|---|
| 22 | public:
|
|---|
| 23 | /// Allow deleting implementing classes by pointer
|
|---|
| 24 | virtual ~transport_listener() {}
|
|---|
| 25 |
|
|---|
| 26 | /// called when a message is received
|
|---|
| 27 | virtual void receive_message(
|
|---|
| 28 | transport_connection::sptr connection,
|
|---|
| 29 | reboost::message_t msg
|
|---|
| 30 | ) {
|
|---|
| 31 | std::cout << "transport_listener: not implemented" << std::endl;
|
|---|
| 32 | }
|
|---|
| 33 | };
|
|---|
| 34 |
|
|---|
| 35 | }} // namespace ariba::transport
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | #endif /* TRANSPORT_LISTENER_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.