Interface ReceptionCallback<T>

Type Parameters:
T - the type of data
All Known Implementing Classes:
AbstractReceptionCallback

public interface ReceptionCallback<T>
Callback to notify a using implementation about the reception of data in a TransportConnector.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type of the data.
    void
    received(T data)
    Notifies about the reception of a data value.
  • Method Details

    • received

      void received(T data)
      Notifies about the reception of a data value.
      Parameters:
      data - the data value
    • getType

      Class<T> getType()
      Returns the type of the data.
      Returns:
      the class representing the type of the data