domain/confirm.js
function Confirm(client, channel){
  EE.call(this);
  this.client = client;
  this.channel = channel;
  this.id = channel.$getId();

  return this;
}
function Confirm(client, channel){
  EE.call(this);
  this.client = client;
  this.channel = channel;
  this.id = channel.$getId();

  return this;
}
function Confirm ( client , channel ) { EE . call ( this ) ; this . client = client ; this . channel = channel ; this . id = channel . $getId ( ) ; return this ; }
Work with confirms.

The Confirm class allows publishers to put the channel in confirm mode and susequently
be notified when messages have been handled by the broker.
The intention is that all messages published on a channel in confirm mode will be
acknowledged at some point. By acknowledging a message the broker assumes responsibility
for it and indicates that it has done something it deems reasonable with it.
Unroutable mandatory or immediate messages are acknowledged right after the
Basic.Return method. Messages are acknowledged when all queues to which the message has
been routed have either delivered the message and received an acknowledgement (if required),
or enqueued the message (and persisted it if required).
Published messages are assigned ascending sequence numbers,
starting at 1 with the first Confirm.Select method.
The server confirms messages by sending Basic.Ack methods referring to these sequence numbers.
@param {BRAMQPClient} client Client object that returns from bramqp#openAMQPCommunication() method.
@param {Channel} channel Channel object (should be opened).
@return {Confirm}
@constructor
Work with confirms .