Constructors

  • Creates a new Publisher on a session Note: this should never be called directly by the user. please use declare_publisher on a session.

    Parameters

    • remote_publisher: RemotePublisher

      A Session to create the publisher on

    • key_expr: KeyExpr

      A Key Expression

    • congestion_control: CongestionControl

      Congestion control

    • priority: Priority

      Priority for Zenoh Data

    • reliability: Reliability

      Reliability for publishing data

    • encoding: Encoding

    Returns Publisher

    a new instance of a publisher

Methods

  • executes delete on publisher

    Parameters

    • delete_options: PublisherDeleteOptions

    Returns void

    void

  • Puts a payload on the publisher associated with this class instance

    Parameters

    • payload: IntoZBytes
    • Optionalput_options: PublisherPutOptions

    Returns void

    void