Interface ObservationSink

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ObservationSink
Sink for observations decoded from inbound HL7, expressed in FRAMED's EAV coordinates. The implementation publishes them onto the event bus in the "<className>.<deviceID>.<channelID>.parsed" convention.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(String className, String deviceID, String channelID, Object value, Instant timestamp)
    Accepts one decoded observation.
  • Method Details

    • accept

      void accept(String className, String deviceID, String channelID, Object value, Instant timestamp)
      Accepts one decoded observation.
      Parameters:
      className - the channel class name
      deviceID - the producing device id
      channelID - the channel id
      value - the value (Double for numeric, String otherwise)
      timestamp - the observation time