Name

JsonPublisher

Hierarchy

  • Publisher
    • JsonPublisher

Constructors

Methods

  • Closes this subscription

    Returns void

  • The subject that was requested

    Returns string

    the subject

  • Indicates whether this publisher has been closed

    Returns boolean

    true if closed

  • Indicates whether this subjet has been discard by the liberator

    Returns boolean

    true if discarded

  • Sends a Message to Liberator for the current subject

    Parameters

    • jsonObject: any

      the json object to send

    • commandListener: CommandListener

      an object with callbacks for the success/failure of sending this message

    Returns void

  • Sets an object to be called back when a discard is received for the current subject

    Parameters

    • discardHandler: JsonDiscardHandler

      a JsonDiscardHandler object to receive the onDiscard callback

    Returns void

Generated using TypeDoc