Changeset 10653 for source/ariba/utility/transport/transport_peer.hpp
- Timestamp:
- Jul 25, 2012, 11:41:36 AM (13 years ago)
- Location:
- source/ariba/utility/transport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/transport
- Property svn:mergeinfo changed (with no actual effect on merging)
-
source/ariba/utility/transport/transport_peer.hpp
r9324 r10653 5 5 #include "transport_protocol.hpp" 6 6 #include "ariba/utility/addressing/endpoint_set.hpp" 7 #include <boost/shared_ptr.hpp> 8 #include "rfcomm/bluetooth_rfcomm.hpp" 9 7 10 8 11 // namespace ariba::transport … … 13 16 14 17 class tcpip; 18 15 19 #ifdef HAVE_LIBBLUETOOTH 16 class rfcomm ;20 class rfcomm_transport; 17 21 #endif 18 22 … … 30 34 virtual void start(); 31 35 virtual void stop(); 32 virtual void send( const address_v* remote, const uint8_t* data, size_t size ); 33 virtual void send( const endpoint_set& endpoints, const uint8_t* data, size_t size ); 36 37 virtual void send( 38 const endpoint_set& endpoints, 39 reboost::message_t message, 40 uint8_t priority = 0); 41 42 /// @deprecated: Use terminate() from transport_connection instead 34 43 virtual void terminate( const address_v* remote ); 44 35 45 virtual void register_listener( transport_listener* listener ); 36 46 37 47 private: 48 void create_service(tcp::endpoint endp); 49 #ifdef HAVE_LIBBLUETOOTH 50 void create_service(boost::asio::bluetooth::rfcomm::endpoint endp); 51 #endif 52 38 53 endpoint_set& local; 39 tcpip* tcp;54 std::vector< boost::shared_ptr<tcpip> > tcps; 40 55 #ifdef HAVE_LIBBLUETOOTH 41 rfcomm* rfc;56 std::vector< boost::shared_ptr<rfcomm_transport> > rfcomms; 42 57 #endif 43 58 };
Note:
See TracChangeset
for help on using the changeset viewer.