Share via


HeartbeatMonitor Class

.NET Framework 4.5

Represents the HeartbeatMonitor to response from the server and carry on beating if a response was successful.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Client.HeartbeatMonitor

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Class HeartbeatMonitor _
    Implements IDisposable
'Usage
Dim instance As HeartbeatMonitor
public class HeartbeatMonitor : IDisposable
public ref class HeartbeatMonitor : IDisposable
type HeartbeatMonitor =  
    class 
        interface IDisposable 
    end
public class HeartbeatMonitor implements IDisposable

The HeartbeatMonitor type exposes the following members.

Constructors

  Name Description
Public method HeartbeatMonitor Initializes a new instance of the HeartbeatMonitor Class.

Top

Properties

  Name Description
Public property HasBeenWarned Gets or sets a value that indicates whether the HeartbeatMonitor has been warned.
Public property TimedOut Gets or sets a value that indicates whether the HeartbeatMonitor had a timeout.

Top

Methods

  Name Description
Public method Beat Logic to determine if we need to notify the user or attempt to reconnect.
Public method Dispose() Releases all resources used by the current instance of the HeartbeatMonitor class.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the HeartbeatMonitor class and optionally releases the managed resources.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Start Updates LastKeepAlive and starts the timer.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Client Namespace