Changeset 5444 for source/ariba/utility
- Timestamp:
- Jul 29, 2009, 5:33:41 PM (15 years ago)
- Location:
- source/ariba/utility/transport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/transport/rfcomm/rfcomm.cpp
r5435 r5444 150 150 boost::asio::placeholders::error, info 151 151 )); 152 asio_io_service::start();153 152 } 154 153 … … 169 168 170 169 // start writing 171 start_write(info);170 io.post( boost::bind( &rfcomm::start_write, this, info) ); 172 171 } 173 172 … … 293 292 294 293 void rfcomm::start_read(link_info* info) { 294 logging_debug("Start reading ..."); 295 295 296 // start read 296 297 boost::asio::async_read(*info->socket, … … 367 368 // deliver data 368 369 listener->receive_message(this, info->local, info->remote, info->buffer, info->size ); 370 371 logging_debug( "Message delivered to service!"); 369 372 370 373 // free buffers and reset size buffer -
source/ariba/utility/transport/tcpip/tcpip.cpp
r5284 r5444 195 195 tp.listener->receive_message( 196 196 &tp, local, remote, datamsg->get_buffer()+6, message_size ); 197 198 delete datamsg; 197 199 } 198 200 }
Note:
See TracChangeset
for help on using the changeset viewer.