Documentation ¶
Index ¶
- type EventManager
- func (_m *EventManager) AddSystemEventListener(ns string, el system.EventListener) error
- func (_m *EventManager) BLOBReceived(dx dataexchange.Plugin, peerID string, hash fftypes.Bytes32, size int64, ...) error
- func (_m *EventManager) BatchPinComplete(bi blockchain.Plugin, batch *blockchain.BatchPin, signingIdentity string) error
- func (_m *EventManager) BlockchainEvent(event *blockchain.EventWithSubscription) error
- func (_m *EventManager) ChangeEvents() chan<- *fftypes.ChangeEvent
- func (_m *EventManager) CreateUpdateDurableSubscription(ctx context.Context, subDef *fftypes.Subscription, mustNew bool) error
- func (_m *EventManager) DeleteDurableSubscription(ctx context.Context, subDef *fftypes.Subscription) error
- func (_m *EventManager) DeletedSubscriptions() chan<- *fftypes.UUID
- func (_m *EventManager) MessageReceived(dx dataexchange.Plugin, peerID string, data []byte) (string, error)
- func (_m *EventManager) NewEvents() chan<- int64
- func (_m *EventManager) NewPins() chan<- int64
- func (_m *EventManager) NewSubscriptions() chan<- *fftypes.UUID
- func (_m *EventManager) OperationUpdate(plugin fftypes.Named, operationID *fftypes.UUID, txState fftypes.OpStatus, ...) error
- func (_m *EventManager) Start() error
- func (_m *EventManager) SubscriptionUpdates() chan<- *fftypes.UUID
- func (_m *EventManager) TokenPoolCreated(ti tokens.Plugin, pool *tokens.TokenPool) error
- func (_m *EventManager) TokensApproved(ti tokens.Plugin, approval *tokens.TokenApproval) error
- func (_m *EventManager) TokensTransferred(ti tokens.Plugin, transfer *tokens.TokenTransfer) error
- func (_m *EventManager) TransferResult(dx dataexchange.Plugin, trackingID string, status fftypes.OpStatus, ...) error
- func (_m *EventManager) WaitStop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventManager ¶
EventManager is an autogenerated mock type for the EventManager type
func (*EventManager) AddSystemEventListener ¶
func (_m *EventManager) AddSystemEventListener(ns string, el system.EventListener) error
AddSystemEventListener provides a mock function with given fields: ns, el
func (*EventManager) BLOBReceived ¶
func (_m *EventManager) BLOBReceived(dx dataexchange.Plugin, peerID string, hash fftypes.Bytes32, size int64, payloadRef string) error
BLOBReceived provides a mock function with given fields: dx, peerID, hash, size, payloadRef
func (*EventManager) BatchPinComplete ¶
func (_m *EventManager) BatchPinComplete(bi blockchain.Plugin, batch *blockchain.BatchPin, signingIdentity string) error
BatchPinComplete provides a mock function with given fields: bi, batch, signingIdentity
func (*EventManager) BlockchainEvent ¶ added in v0.12.0
func (_m *EventManager) BlockchainEvent(event *blockchain.EventWithSubscription) error
BlockchainEvent provides a mock function with given fields: event
func (*EventManager) ChangeEvents ¶
func (_m *EventManager) ChangeEvents() chan<- *fftypes.ChangeEvent
ChangeEvents provides a mock function with given fields:
func (*EventManager) CreateUpdateDurableSubscription ¶
func (_m *EventManager) CreateUpdateDurableSubscription(ctx context.Context, subDef *fftypes.Subscription, mustNew bool) error
CreateUpdateDurableSubscription provides a mock function with given fields: ctx, subDef, mustNew
func (*EventManager) DeleteDurableSubscription ¶
func (_m *EventManager) DeleteDurableSubscription(ctx context.Context, subDef *fftypes.Subscription) error
DeleteDurableSubscription provides a mock function with given fields: ctx, subDef
func (*EventManager) DeletedSubscriptions ¶
func (_m *EventManager) DeletedSubscriptions() chan<- *fftypes.UUID
DeletedSubscriptions provides a mock function with given fields:
func (*EventManager) MessageReceived ¶
func (_m *EventManager) MessageReceived(dx dataexchange.Plugin, peerID string, data []byte) (string, error)
MessageReceived provides a mock function with given fields: dx, peerID, data
func (*EventManager) NewEvents ¶
func (_m *EventManager) NewEvents() chan<- int64
NewEvents provides a mock function with given fields:
func (*EventManager) NewPins ¶
func (_m *EventManager) NewPins() chan<- int64
NewPins provides a mock function with given fields:
func (*EventManager) NewSubscriptions ¶
func (_m *EventManager) NewSubscriptions() chan<- *fftypes.UUID
NewSubscriptions provides a mock function with given fields:
func (*EventManager) OperationUpdate ¶
func (_m *EventManager) OperationUpdate(plugin fftypes.Named, operationID *fftypes.UUID, txState fftypes.OpStatus, blockchainTXID string, errorMessage string, opOutput fftypes.JSONObject) error
OperationUpdate provides a mock function with given fields: plugin, operationID, txState, blockchainTXID, errorMessage, opOutput
func (*EventManager) Start ¶
func (_m *EventManager) Start() error
Start provides a mock function with given fields:
func (*EventManager) SubscriptionUpdates ¶
func (_m *EventManager) SubscriptionUpdates() chan<- *fftypes.UUID
SubscriptionUpdates provides a mock function with given fields:
func (*EventManager) TokenPoolCreated ¶ added in v0.11.0
TokenPoolCreated provides a mock function with given fields: ti, pool
func (*EventManager) TokensApproved ¶ added in v0.13.1
func (_m *EventManager) TokensApproved(ti tokens.Plugin, approval *tokens.TokenApproval) error
TokensApproved provides a mock function with given fields: ti, approval
func (*EventManager) TokensTransferred ¶ added in v0.10.1
func (_m *EventManager) TokensTransferred(ti tokens.Plugin, transfer *tokens.TokenTransfer) error
TokensTransferred provides a mock function with given fields: ti, transfer
func (*EventManager) TransferResult ¶
func (_m *EventManager) TransferResult(dx dataexchange.Plugin, trackingID string, status fftypes.OpStatus, update fftypes.TransportStatusUpdate) error
TransferResult provides a mock function with given fields: dx, trackingID, status, update
func (*EventManager) WaitStop ¶
func (_m *EventManager) WaitStop()
WaitStop provides a mock function with given fields: