|
GHS
Leader Election Based on GHS Minimum Spanning Tree
|
provides the defs for the struct le::ghs::msg More...
Go to the source code of this file.
Classes | |
| struct | le::ghs::msg::NoopPayload |
| No further action necessary (i.e., we have completed the MST construction) More... | |
| struct | le::ghs::msg::SrchPayload |
| Requests a search begin in the MST subtree rooted at the receiver, for the minimum weight outgoing edge (one that spans two partitions). More... | |
| struct | le::ghs::msg::SrchRetPayload |
| Returns an edge that represents the minimum weight outgoing edge. More... | |
| struct | le::ghs::msg::InPartPayload |
| Asks "Are you in my partition". More... | |
| struct | le::ghs::msg::AckPartPayload |
| States "I am in your partition". More... | |
| struct | le::ghs::msg::NackPartPayload |
| States "I am not in your partition". More... | |
| struct | le::ghs::msg::JoinUsPayload |
| Msgs to merge /absorb two partitions across a given edge. More... | |
| union | le::ghs::msg::Data |
| class | le::ghs::Msg |
| An aggregate type containing all the data to exchange with to/from information. More... | |
Namespaces | |
| le | |
| le::ghs | |
Enumerations | |
| enum | le::ghs::msg::Type { le::ghs::msg::UNASSIGNED =0, le::ghs::msg::NOOP, le::ghs::msg::SRCH, le::ghs::msg::SRCH_RET, le::ghs::msg::IN_PART, le::ghs::msg::ACK_PART, le::ghs::msg::NACK_PART, le::ghs::msg::JOIN_US } |
| Stores what type of Msg this is. More... | |
Variables | |
| const unsigned int | le::ghs::MAX_MSG_SZ = sizeof(Msg) |
provides the defs for the struct le::ghs::msg
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| enum le::ghs::msg::Type |
Stores what type of Msg this is.
| Enumerator | |
|---|---|
| UNASSIGNED | Error checking for unassigned messages. |
| NOOP | data is a NoopPayload |
| SRCH | data is a SrchPayload |
| SRCH_RET | data is a SrchRetPayload |
| IN_PART | data is a InPartPayload |
| ACK_PART | data is a AckPartPayload |
| NACK_PART | data is a NackPartPayload |
| JOIN_US | data is a JoinUsPayload |
1.8.17