Ignore:
Timestamp:
Mar 22, 2011, 4:05:57 PM (14 years ago)
Author:
mies
Message:

almost forgot to commit: doxygen modules :)

Location:
source/ariba/communication/messages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/messages/AribaBaseMsg.cpp

    r6919 r9684  
    4444vsznDefault(AribaBaseMsg);
    4545
    46 AribaBaseMsg::AribaBaseMsg( type_ _type,
    47         const LinkID& localLink, const LinkID& remoteLink ) :
    48         type((uint8_t)_type),
    49         localLink(localLink),remoteLink(remoteLink) {
     46AribaBaseMsg::AribaBaseMsg( type_ _type, LinkID link ) :
     47        type((uint8_t)_type), link(link){
    5048}
    5149
  • source/ariba/communication/messages/AribaBaseMsg.h

    r5284 r9684  
    4141
    4242#include <string>
    43 #include <boost/cstdint.hpp>
     43#include <stdint.h>
     44
    4445#include "ariba/utility/messages.h"
    4546#include "ariba/utility/serialization.h"
     47
    4648#include "ariba/utility/types/LinkID.h"
    4749#include "ariba/utility/types/Address.h"
     
    7274        };
    7375
    74         AribaBaseMsg( type_ type = typeData,
    75                         const LinkID& localLink = LinkID::UNSPECIFIED,
    76                         const LinkID& remoteLink = LinkID::UNSPECIFIED );
    77 
     76        AribaBaseMsg( type_ type = typeData, LinkID link = LinkID::UNSPECIFIED );
    7877        virtual ~AribaBaseMsg();
    7978
     
    8483        }
    8584
    86         const LinkID& getLocalLink() const {
    87                 return localLink;
    88         }
    89 
    90         const LinkID& getRemoteLink() const {
    91                 return remoteLink;
     85        const LinkID& getLink() const {
     86                return link;
    9287        }
    9388
     
    10196
    10297private:
    103         uint8_t type;           // the link message type
     98        // link message type
     99        uint8_t type;
    104100
    105         // remote and local link ids
    106         LinkID localLink;       // the local link id
    107         LinkID remoteLink;      // the remote link id
     101        // link identifier
     102        LinkID  link;
    108103
    109         // remote and local endpoint descriptors
     104        // remote and local endpoint descriptors (link reply/request only)
    110105        EndpointDescriptor localDescriptor;
    111106        EndpointDescriptor remoteDescriptor;
     
    115110
    116111sznBeginDefault( ariba::communication::AribaBaseMsg, X ) {
    117         X && type && &localLink && &remoteLink;
    118         if (type == typeLinkReply || type == typeLinkRequest)
     112        X && type && link;
     113        if (type == typeLinkReply || type == typeLinkRequest) {
    119114                X && localDescriptor && remoteDescriptor;
     115        }
    120116        X && Payload();
    121117} sznEnd();
Note: See TracChangeset for help on using the changeset viewer.