Ignore:
Timestamp:
Jun 29, 2009, 4:49:46 PM (16 years ago)
Author:
Christoph Mayer
Message:

alle uint_8 auf uint_16 welche an serialisierung beteiligt sind

Location:
source/ariba/communication
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/EndpointDescriptor.h

    r3705 r4618  
    100100
    101101sznBeginDefault( ariba::communication::EndpointDescriptor, X ) {
    102         uint8_t unspec = isUnspec;
     102        uint16_t unspec = isUnspec; //TODO: was uint8_t
    103103
    104104        X && unspec && VO(locator);
  • source/ariba/communication/messages/AribaBaseMsg.h

    r4617 r4618  
    8585
    8686private:
    87         uint8_t state;          // the link message type
     87        uint16_t state;         // the link message type //TODO: was uint8_t
    8888        LinkID localLink;       // the local link id
    8989        LinkID remoteLink;      // the remote link id
     
    9494
    9595sznBeginDefault( ariba::communication::AribaBaseMsg, X ) {
    96         uint8_t x = 0xff;
    97         X && state && x && &localLink && &remoteLink && Payload();
     96        X && state && &localLink && &remoteLink && Payload();
    9897} sznEnd();
    9998
  • source/ariba/communication/modules/transport/tcp/TCPTransport.cpp

    r4598 r4618  
    203203                                        // converting message
    204204                                        logging_debug( "converting message" );
    205 
    206 
    207                                         std::cout << "XXXXXXXXXXXXreceived data on tcp transport: " << data << std::endl;
    208 
    209 
     205                                        //std::cout << "XXXXXXXXXXXXreceived data on tcp transport: " << data << std::endl;
    210206                                        Message* msg = new Message(data);
     207
    211208                                        std::ostringstream o;
    212209                                        o << (peer->get_ip_str() + 7) << ":" << remotePort;
     
    243240
    244241        Data data = data_serialize( message );
    245 
    246 
    247         std::cout << "XXXXXXXXXXXXXsending out data using tcp transport: " << data << std::endl;
    248 
    249 
    250 
     242        //std::cout << "XXXXXXXXXXXXXsending out data using tcp transport: " << data << std::endl;
    251243
    252244        const_cast<Message*>(message)->dropPayload();
Note: See TracChangeset for help on using the changeset viewer.