Change windows line endings to unix ones and fix whitespace (spaces not tabs).
This commit is contained in:
parent
f786d141cd
commit
42aec54333
|
|
@ -1,42 +1,42 @@
|
||||||
/**
|
/**
|
||||||
* DeferredConfirm.cpp
|
* DeferredConfirm.cpp
|
||||||
*
|
*
|
||||||
* Implementation file for the DeferredConfirm class
|
* Implementation file for the DeferredConfirm class
|
||||||
*
|
*
|
||||||
* @author Marcin Gibula <m.gibula@gmail.com>
|
* @author Marcin Gibula <m.gibula@gmail.com>
|
||||||
* @copyright 2018 Copernica BV
|
* @copyright 2018 Copernica BV
|
||||||
*/
|
*/
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "basicackframe.h"
|
#include "basicackframe.h"
|
||||||
#include "basicnackframe.h"
|
#include "basicnackframe.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Namespace
|
* Namespace
|
||||||
*/
|
*/
|
||||||
namespace AMQP {
|
namespace AMQP {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process an ACK frame
|
* Process an ACK frame
|
||||||
*
|
*
|
||||||
* @param frame The frame to process
|
* @param frame The frame to process
|
||||||
*/
|
*/
|
||||||
void DeferredConfirm::process(BasicAckFrame &frame)
|
void DeferredConfirm::process(BasicAckFrame &frame)
|
||||||
{
|
{
|
||||||
if (_ackCallback) _ackCallback(frame.deliveryTag(), frame.multiple());
|
if (_ackCallback) _ackCallback(frame.deliveryTag(), frame.multiple());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process a NACK frame
|
* Process a NACK frame
|
||||||
*
|
*
|
||||||
* @param frame The frame to process
|
* @param frame The frame to process
|
||||||
*/
|
*/
|
||||||
void DeferredConfirm::process(BasicNackFrame &frame)
|
void DeferredConfirm::process(BasicNackFrame &frame)
|
||||||
{
|
{
|
||||||
if (_nackCallback) _nackCallback(frame.deliveryTag(), frame.multiple(), frame.requeue());
|
if (_nackCallback) _nackCallback(frame.deliveryTag(), frame.multiple(), frame.requeue());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* End namespace
|
* End namespace
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dependencies
|
* Dependencies
|
||||||
*/
|
*/
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue