TestGroupState

Type Alias TestGroupState 

Source
pub type TestGroupState = GenericTestGroupState<TestResolver, TestOrderer, TestGroupStore>;

Aliased Type§

pub struct TestGroupState {
    pub my_id: char,
    pub group_id: char,
    pub states: HashMap<u32, GroupMembersState<GroupMember<char>, ()>>,
    pub operations: HashMap<u32, TestOperation>,
    pub ignore: HashSet<u32>,
    pub graph: GraphMap<u32, (), Directed>,
    pub orderer_y: TestOrdererState,
    pub group_store: TestGroupStore,
    /* private fields */
}

Fields§

§my_id: char

ID of the local actor.

§group_id: char

ID of the group.

§states: HashMap<u32, GroupMembersState<GroupMember<char>, ()>>

Group state at every position in the operation graph.

§operations: HashMap<u32, TestOperation>

All operations processed by this group.

§ignore: HashSet<u32>

All operations who’s actions should be ignored.

§graph: GraphMap<u32, (), Directed>

Operation graph for this group.

§orderer_y: TestOrdererState

State for the orderer.

§group_store: TestGroupStore

All groups known to this instance.