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
Click to show internal directories.
Click to hide internal directories.