rawmessagesfilter

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsensusMessagesHandler

type ConsensusMessagesHandler interface {
	HandleConsensusMessage(message interfaces.ConsensusMessage) error
}

type RawMessageFilter

type RawMessageFilter struct {
	// contains filtered or unexported fields
}

func NewConsensusMessageFilter

func NewConsensusMessageFilter(instanceId primitives.InstanceId, myMemberId primitives.MemberId, logger L.LHLogger, state *state.State) *RawMessageFilter

func (*RawMessageFilter) ConsumeCacheMessages added in v0.2.0

func (f *RawMessageFilter) ConsumeCacheMessages(consensusMessagesHandler ConsensusMessagesHandler)

func (*RawMessageFilter) HandleConsensusRawMessage

func (f *RawMessageFilter) HandleConsensusRawMessage(rawMessage *interfaces.ConsensusRawMessage)

TODO Consider passing ConsensusMessage instead of *interfaces.ConsensusRawMessage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL