Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventManager ¶
type EventManager interface { NewPins() chan<- int64 NewEvents() chan<- int64 NewSubscriptions() chan<- *fftypes.UUID SubscriptionUpdates() chan<- *fftypes.UUID DeletedSubscriptions() chan<- *fftypes.UUID DeleteDurableSubscription(ctx context.Context, subDef *core.Subscription) (err error) CreateUpdateDurableSubscription(ctx context.Context, subDef *core.Subscription, mustNew bool) (err error) EnrichEvent(ctx context.Context, event *core.Event) (*core.EnrichedEvent, error) QueueBatchRewind(batchID *fftypes.UUID) Start() error WaitStop() // Bound blockchain callbacks BatchPinComplete(namespace string, batch *blockchain.BatchPin, signingKey *core.VerifierRef) error BlockchainEvent(event *blockchain.EventWithSubscription) error BlockchainNetworkAction(action string, location *fftypes.JSONAny, event *blockchain.Event, signingKey *core.VerifierRef) error // Bound dataexchange callbacks DXEvent(plugin dataexchange.Plugin, event dataexchange.DXEvent) // Bound sharedstorage callbacks // Bound token callbacks TokenPoolCreated(ti tokens.Plugin, pool *tokens.TokenPool) error TokensTransferred(ti tokens.Plugin, transfer *tokens.TokenTransfer) error TokensApproved(ti tokens.Plugin, approval *tokens.TokenApproval) error GetPlugins() []*core.NamespaceStatusPlugin // Internal events system.EventInterface }
func NewEventManager ¶
func NewEventManager(ctx context.Context, ns *core.Namespace, di database.Plugin, bi blockchain.Plugin, im identity.Manager, dh definitions.Handler, dm data.Manager, ds definitions.Sender, bm broadcast.Manager, pm privatemessaging.Manager, am assets.Manager, sd shareddownload.Manager, mm metrics.Manager, om operations.Manager, txHelper txcommon.Helper, transports map[string]events.Plugin, mp multiparty.Manager, cacheManager cache.Manager) (EventManager, error)
Source Files ¶
- aggregator.go
- aggregator_batch_state.go
- aggregator_rewind.go
- batch_pin_complete.go
- blob_receiver.go
- blockchain_event.go
- bound_events_callbacks.go
- dx_callbacks.go
- event_dispatcher.go
- event_enrich.go
- event_manager.go
- event_notifier.go
- event_poller.go
- network_action.go
- offset_calc.go
- persist_batch.go
- reply_sender.go
- ss_callbacks.go
- subscription_manager.go
- token_pool_created.go
- tokens_approved.go
- tokens_transferred.go
Click to show internal directories.
Click to hide internal directories.