Interface RecordPublisher

All Superinterfaces:
Publisher

public interface RecordPublisher extends Publisher
An object that can send record messages for a subject that StreamLink is providing
  • Method Details

    • setDiscardHandler

      void setDiscardHandler(RecordDiscardHandler discardHandler)
      Sets an object to be called back when a discard is received for the current subject
      Parameters:
      discardHandler - a RecordDiscardHandler object to receive the onDiscard callback
    • send

      void send(Map<String,String> fields, boolean image, CommandListener commandListener)
      Sends a Message to Liberator for the current subject
      Parameters:
      fields - the fields to send
      image - whether this is an image
      commandListener - an object with callbacks for the success/failure of sending this message