Ignore:
Timestamp:
Aug 13, 2009, 1:26:27 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/LinkDescriptor.h

    r5873 r5916  
    6666        bool fromRemote;   ///< flag, whether this link was requested from remote
    6767        NodeID remoteNode; ///< remote end-point node
     68        bool isVital() {
     69                return up && keepAliveMissed == 0;
     70        }
     71        bool isDirectVital() {
     72                return isVital() && communicationUp && !relayed;
     73        }
     74
    6875
    6976        // link identifiers --------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.