Class Qpid::Proton::Sender
In: lib/core/sender.rb
Parent: Link

The sending endpoint.

@see Receiver

Methods

delivery_tag   new   offered   open   send   stream  

Included Modules

Util::ErrorHandler

Attributes

auto_settle  [R]  @return [Boolean] auto_settle flag, see {open}

Public Class methods

Public Instance methods

@deprecated internal use only

Hint to the remote receiver about the number of messages available. The receiver may use this to optimize credit flow, or may ignore it. @param n [Integer] The number of deliveries potentially available.

Open the {Sender} link

@overload open_sender(address)

  @param address [String] address of the target to send to

@overload open_sender(opts)

  @option opts [Boolean] :auto_settle (true) if true, automatically settle transfers
  @option opts [Boolean] :dynamic (false) dynamic property for source {Terminus#dynamic}
  @option opts [String,Hash] :source source address or source options, see {Terminus#apply}
  @option opts [String,Hash] :target target address or target options, see {Terminus#apply}
  @option opts [String] :name (generated) unique name for the link.

@!method send(message) Send a message. @param message [Message] The message to send. @return [Tracker] Tracks the outcome of the message.

@deprecated use {send}

[Validate]