You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the Draft design of new WebSockets, a new SubscriptionHandler interface should be implemented as part of the new WebSocket subscription system, building on the current WebSocketController. All requirements and relationships between components are described in the draft design document.
The SubscriptionHandler interface abstracts the actual subscriptions managed by the WebSocketBroker. Concrete SubscriptionHandler implementations will be created during the WebSocketBroker::subscribe call, depending on the topic provided by the client. For example, the topic events will have an EventsSubscriptionHandler implementation to manage event subscriptions.
The supported topics include:
events
account_statuses
blocks
block_headers
block_digests
transaction_statuses
All concrete handlers will be implemented in separate tasks, based on this interface.
This issue includes implementing the interface and a factory method:
If possible, a basic implementation of the SubscriptionHandler interface should be provided, which will include common functionality for each concrete handler. This can be done after some of the handlers have already been implemented.
The text was updated successfully, but these errors were encountered:
Guitarheroua
changed the title
[Access] Implement SubscriptionHandler interface
[Access] Implement SubscriptionHandler interface
Oct 22, 2024
Guitarheroua
changed the title
[Access] Implement SubscriptionHandler interface
[Access] Implement SubscriptionHandler interface and CreateSubscriptionHandler factory method
Oct 23, 2024
Guitarheroua
changed the title
[Access] Implement SubscriptionHandler interface and CreateSubscriptionHandler factory method
[Access] Implement SubscriptionHandler interface and CreateSubscriptionHandler factory
Oct 24, 2024
Guitarheroua
changed the title
[Access] Implement SubscriptionHandler interface and CreateSubscriptionHandler factory
[Access] Implement DataProvider interface and factory of data providers
Nov 12, 2024
SubscriptionHandler Implementation
Based on the Draft design of new WebSockets, a new
SubscriptionHandler
interface should be implemented as part of the new WebSocket subscription system, building on the currentWebSocketController
. All requirements and relationships between components are described in the draft design document.The
SubscriptionHandler
interface abstracts the actual subscriptions managed by theWebSocketBroker
. ConcreteSubscriptionHandler
implementations will be created during theWebSocketBroker::subscribe
call, depending on thetopic
provided by the client. For example, the topicevents
will have anEventsSubscriptionHandler
implementation to manage event subscriptions.The supported topics include:
events
account_statuses
blocks
block_headers
block_digests
transaction_statuses
All concrete handlers will be implemented in separate tasks, based on this interface.
This issue includes implementing the interface and a factory method:
If possible, a basic implementation of the
SubscriptionHandler
interface should be provided, which will include common functionality for each concrete handler. This can be done after some of the handlers have already been implemented.The text was updated successfully, but these errors were encountered: