Changeset 4625


Ignore:
Timestamp:
Jun 30, 2009, 8:00:52 AM (15 years ago)
Author:
Christoph Mayer
Message:

zurück auf 8bit, test

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/PingPongMessage.h

    r4618 r4625  
    1818public:
    1919        PingPongMessage();
    20         PingPongMessage( uint16_t _id );
     20        PingPongMessage( uint8_t _id );
    2121        virtual ~PingPongMessage();
    2222
    2323        string info();
    24         uint16_t getid();
     24        uint8_t getid();
    2525private:
    26         uint16_t id; //TODO: was uint8_t
     26        uint8_t id;
    2727};
    2828
  • source/ariba/communication/EndpointDescriptor.h

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

    r4621 r4625  
    8585
    8686private:
    87         uint8_t state;          // the link message type //TODO: was uint8_t
     87        uint8_t state;          // the link message type
    8888        LinkID localLink;       // the local link id
    8989        LinkID remoteLink;      // the remote link id
  • source/ariba/overlay/messages/LinkRequest.h

    r4618 r4625  
    2424private:
    2525        bool free_endpoint_;
    26         uint16_t flags; //TODO: was uint8_t
     26        uint8_t flags;
    2727        uint32_t nonce;
    2828        const EndpointDescriptor* endpoint;
  • source/ariba/overlay/messages/OverlayMsg.h

    r4618 r4625  
    9090
    9191private:
    92         uint16_t type; //TODO: was uint8_t
     92        uint8_t type;
    9393        ServiceID service;
    9494        NodeID sourceNode;
  • source/ariba/overlay/modules/chord/messages/ChordMessage.h

    r4618 r4625  
    9797
    9898private:
    99         uint16_t type; //TODO: was uint8_t
    100         uint16_t hop_count; //TODO: was uint8_t
     99        uint8_t type;
     100        uint8_t hop_count;
    101101        NodeID source, destination;
    102102};
  • source/ariba/overlay/modules/chord/messages/Discovery.h

    r4618 r4625  
    108108
    109109private:
    110         uint16_t follow_type; //TODO: was uint8_t
    111         uint16_t ttl; //TODO: was uint8_t
     110        uint8_t follow_type;
     111        uint8_t ttl;
    112112        EndpointDescriptor* source_endpoint;
    113113//      NodeEndpointList descriptors;
  • source/ariba/overlay/modules/onehop/messages/OneHopMessage.h

    r4618 r4625  
    6868
    6969private:
    70         uint16_t type; // TODO: was uint8_t
     70        uint8_t type;
    7171};
    7272
  • source/ariba/utility/types/Identifier.h

    r4618 r4625  
    572572        // calculate length of key
    573573        uint16_t len = array_size*sizeof(mp_limb_t);
    574         uint16_t unspec = isUnspec; //TODO: was uint8_t
     574        uint8_t unspec = isUnspec;
    575575
    576576        // only serialize the lower 16 bits of keyLength
  • source/ariba/utility/types/OverlayParameterSet.h

    r4618 r4625  
    6464
    6565private:
    66         uint16_t structure; //TODO: was uint8_t
     66        uint8_t structure;
    6767
    6868};
Note: See TracChangeset for help on using the changeset viewer.