C# Class EventCentric.Heartbeating.InMemoryHeartbeatListener

A heartbeat listener. Since a tipical event centric node is hosted in IIS there is always the risk that a subscriber falls asleep. This is the responsability of the Heartbeat Listener. Keep the subscriber node always alive.
Mostrar archivo Open project: Narvalex/EventCentric

Public Methods

Method Description
InMemoryHeartbeatListener ( string nodeName, System.TimeSpan timeout, System.TimeSpan interval ) : System

Private Methods

Method Description
CreateHttpClient ( ) : HttpClient
RequestHeartbeat ( string name, string url ) : void
RequestHeartbeats ( ) : void

Method Details

InMemoryHeartbeatListener() public method

public InMemoryHeartbeatListener ( string nodeName, System.TimeSpan timeout, System.TimeSpan interval ) : System
nodeName string
timeout System.TimeSpan
interval System.TimeSpan
return System