Ignore:
Timestamp:
Jan 25, 2010, 10:50:57 AM (14 years ago)
Author:
Christoph Mayer
Message:

-timer delete fix (noch auskommentiert), -interface cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SpoVNetProperties.h

    r5316 r7468  
    8383
    8484        /**
    85          * Constructs a new SpoVnet property object.
    86          *
    87          * TODO: replace with setters! for downwards compatibility
    88          */
    89         /*
    90         SpoVNetProperties(const Name& name, SpoVNetID id, OverlayType type,
    91                         uint16_t idLength, const NodeID& initiator, bool hidden = false) :
    92                 name(name), id(id), type(type), idLength(idLength),
    93                                 initiator(initiator), hidden(hidden) {
    94         }*/
    95 
    96         /**
    9785         * Copy constructor.
    9886         */
     
    10391         */
    10492        virtual ~SpoVNetProperties();
    105 
    106         /**
    107          * Returns the canonical SpoVNet name
    108          */
    109         const Name& getName() const;
    110 
    111         /**
    112          * Returns the SpoVNet id
    113          */
    114         const SpoVNetID& getId() const;
    115 
    116         /**
    117          * Returns the node id of the initiator of the spovnet.
    118          * If the node id is unspecified, the initiator wanted to be anonymous.
    119          */
    120         const NodeID& getInitiator() const;
    121 
    122         /**
    123          * Returns the node identifier length in bites
    124          */
    125         uint16_t getIdentifierLength() const;
    126 
    127         void setIdentifierLength( uint16_t length ) {
    128                 this->idLength = length;
    129         }
    13093
    13194        /**
     
    139102
    140103        /**
    141          * Returns true, if the spovnet is hidden
    142          */
    143         bool isHidden() const;
    144 
    145         void setHidden( bool is_hidden ) {
    146                 this->hidden = is_hidden;
    147         }
    148 
    149         /**
    150104         * Returns a human readable string representation of the SpoVNet properties
    151105         *
     
    155109
    156110private:
    157         Name name;
    158         SpoVNetID id;
    159         uint8_t  type;
    160         uint16_t idLength;
    161         NodeID initiator;
    162         bool hidden;
     111        uint8_t type;
    163112};
    164113
Note: See TracChangeset for help on using the changeset viewer.