Skip to content

Keepalive heartbeat loops #2

@AndreaV-Lsi

Description

@AndreaV-Lsi

Implement the Keepalive heartbeat loops in the WebSocket Connection as Heartbeat Actor spawned by the connection.

  • The actor will send the peer a ping on a certain time basis dictated by the Keepalive cluster.
  • It will implement a "Notify Pong" method with the respective message that the "WebSocket Connection" Actor will use when the peer answers the Pong.
  • The heartbeat loop will then timeout according to the settings dictated by the Keepalive cluster. When this happens the connection to the peer will be closed

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions