Interface HBDataSenderService

All Known Implementing Classes:
HBDataSenderServiceImpl

public interface HBDataSenderService
Service dealing with sending collected data to the Heartbeat server.
Author:
Ancuta Morarasu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enable(boolean heartbeatState)
    Enables or disables the heartbeat sending data process.
    void
    sendData(List<HBData> dataBatch)
    Sends a list of heartbeat collected data to the Heartbeat server
    void
    Sends heartbeat collected data to the Heartbeat server
  • Method Details

    • sendData

      void sendData(HBData data)
      Sends heartbeat collected data to the Heartbeat server
      Parameters:
      data - collected data
    • sendData

      void sendData(List<HBData> dataBatch)
      Sends a list of heartbeat collected data to the Heartbeat server
      Parameters:
      dataBatch - batch of collected data
    • enable

      void enable(boolean heartbeatState)
      Enables or disables the heartbeat sending data process.
      Parameters:
      heartbeatState - true to enable sending the collected data, false otherwise