Documentation
¶
Index ¶
- type AlphabetState
- type EpochState
- type Params
- type Processor
- func (rp *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo
- func (rp *Processor) ListenerNotaryParsers() []event.NotaryParserInfo
- func (rp *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo
- func (rp *Processor) ListenerNotificationParsers() []event.NotificationParserInfo
- func (rp *Processor) TimersHandlers() []event.NotificationHandlerInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlphabetState ¶
type AlphabetState interface {
IsAlphabet() bool
}
AlphabetState is a callback interface for inner ring global state.
type EpochState ¶
type EpochState interface {
EpochCounter() uint64
}
EpochState is a callback interface for inner ring global state.
type Params ¶
type Params struct {
Log *zap.Logger
PoolSize int
EpochState EpochState
AlphabetState AlphabetState
ReputationWrapper *repClient.Client
ManagerBuilder common.ManagerBuilder
}
Params of the processor constructor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor of events produced by reputation contract.
func (*Processor) ListenerNotaryHandlers ¶ added in v0.25.0
func (rp *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo
ListenerNotaryHandlers for the 'event.Listener' notary event producer.
func (*Processor) ListenerNotaryParsers ¶ added in v0.25.0
func (rp *Processor) ListenerNotaryParsers() []event.NotaryParserInfo
ListenerNotaryParsers for the 'event.Listener' notary event producer.
func (*Processor) ListenerNotificationHandlers ¶ added in v0.25.0
func (rp *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo
ListenerNotificationHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerNotificationParsers ¶ added in v0.25.0
func (rp *Processor) ListenerNotificationParsers() []event.NotificationParserInfo
ListenerNotificationParsers for the 'event.Listener' event producer.
func (*Processor) TimersHandlers ¶
func (rp *Processor) TimersHandlers() []event.NotificationHandlerInfo
TimersHandlers for the 'Timers' event producer.
Click to show internal directories.
Click to hide internal directories.