Ignore:
Timestamp:
Mar 26, 2014, 6:28:32 PM (10 years ago)
Author:
hock@…
Message:

WARNING! This revision is not intended for productive use!

!! DEBUGGING ONLY !!

Extreme debugging of StreamTransport.
"Typo" in the locking-code, was very hard to track down!

This revision is stored since a lot dabug code was written and should not just be deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/transport/StreamTransport/StreamTransport.hpp

    r12060 r12773  
    6464        StreamConnection(boost::asio::io_service& io_service, StreamTransportPtr parent);
    6565       
    66         virtual ~StreamConnection() {}
     66        virtual ~StreamConnection()
     67                {
     68                        // XXX MARIO Debugging
     69                        std::cout << "/// ~StreamConnection(): " << this << ", SENDING: " << this->sending << ", VALID: " << this->valid << std::endl;
     70                       
     71                        assert ( this->valid == false );
     72                }
    6773       
    6874        /// Inherited from transport_connection
     
    127133        shared_buffer_t buffy;
    128134       
     135               
     136                // XXX Mario: Debugging
     137                const int MAGIC_NUMBER;
    129138    private:
    130139        std::vector<ariba::utility::LinkID*> communication_links;
Note: See TracChangeset for help on using the changeset viewer.