system

package
v0.0.0-...-93e01a0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SystemEventsConfReadAhead is the readahead used for system events
	SystemEventsConfReadAhead = "readAhead"
)
View Source
const (
	SystemEventsTransport = "system"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventListener

type EventListener func(event *fftypes.EventDelivery) error

type Events

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

Events the system events listener is used for system components that need access to confirmed events, such as the sync<->async bridge.

func (*Events) AddListener

func (se *Events) AddListener(ns string, el EventListener) error

func (*Events) Capabilities

func (se *Events) Capabilities() *events.Capabilities

func (*Events) DeliveryRequest

func (se *Events) DeliveryRequest(connID string, sub *fftypes.Subscription, event *fftypes.EventDelivery, data []*fftypes.Data) error

func (*Events) GetOptionsSchema

func (se *Events) GetOptionsSchema(ctx context.Context) string

func (*Events) Init

func (se *Events) Init(ctx context.Context, prefix config.Prefix, callbacks events.Callbacks) (err error)

func (*Events) InitPrefix

func (se *Events) InitPrefix(prefix config.Prefix)

func (*Events) Name

func (se *Events) Name() string

func (*Events) ValidateOptions

func (se *Events) ValidateOptions(options *fftypes.SubscriptionOptions) error

Jump to

Keyboard shortcuts

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