BAOS .net SDK  18.2.0
Public Member Functions | Protected Member Functions | List of all members
kdrive::baos::bindings::BaosHeartbeat Class Reference

BaosHeartbeat sends periodically a heartbeat. More...

#include <BaosHeartbeat.h>

Public Member Functions

 BaosHeartbeat (Connector^connector)
 Creates a BaosHearbeat class. More...
 
 ~BaosHeartbeat ()
 Destroys the BaosHeartbeat Destructor cleans up unmanaged and managed resources. More...
 
void start ()
 Starts the heartbeat service. More...
 
void stop ()
 Stops the hearbeat service. More...
 

Protected Member Functions

 !BaosHeartbeat ()
 Finalizer (non-deterministic destructor) cleans up unmanaged resources. More...
 

Detailed Description

BaosHeartbeat sends periodically a heartbeat.

DEPRECATED In a previous version did the StreamConnector no heartbeat. Now th StreamConnector implemented internally the heartbeat. So this class is no more needed. Its exists only for backward compatibility.

Constructor & Destructor Documentation

kdrive::baos::bindings::BaosHeartbeat::BaosHeartbeat ( Connector connector)

Creates a BaosHearbeat class.

It keeps a reference to the connector internally so it can periodically send a request to the server. Nothing will happen however until you call start

kdrive::baos::bindings::BaosHeartbeat::~BaosHeartbeat ( )

Destroys the BaosHeartbeat Destructor cleans up unmanaged and managed resources.

kdrive::baos::bindings::BaosHeartbeat::!BaosHeartbeat ( )
protected

Finalizer (non-deterministic destructor) cleans up unmanaged resources.

Member Function Documentation

void kdrive::baos::bindings::BaosHeartbeat::start ( )

Starts the heartbeat service.

This will periodically send a data request until stopped.

void kdrive::baos::bindings::BaosHeartbeat::stop ( )

Stops the hearbeat service.


The documentation for this class was generated from the following file: