GxsTrans update outdated comments

This commit is contained in:
Gioacchino Mazzurco 2019-06-12 15:30:02 +02:00
parent 7a237c11d3
commit c80b6db423
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
3 changed files with 16 additions and 11 deletions

View File

@ -1,5 +1,7 @@
/*******************************************************************************
* RetroShare GxsTrans asyncronous redundant small mail trasport on top of GXS *
* libretroshare/src/gxstrans: p3gxstrans.cc *
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
@ -239,10 +241,7 @@ void p3GxsTrans::handleResponse(uint32_t token, uint32_t req_type)
if(!have_preferred_group)
{
/* This is true only at first run when we haven't received mail
* distribuition groups from friends
* TODO: We should check if we have some connected friend too, to
* avoid to create yet another never used mail distribution group.
*/
* distribuition groups from friends */
#ifdef DEBUG_GXSTRANS
std::cerr << "p3GxsTrans::handleResponse(...) preferredGroupId.isNu"
@ -620,9 +619,10 @@ void p3GxsTrans::service_tick()
}
else
{
/* TODO: It is a receipt for a message sent by someone else
/* It is a receipt for a message sent by someone else
* we can delete original mail from our GXS DB without
* waiting for GXS_STORAGE_PERIOD */
* waiting for GXS_STORAGE_PERIOD, this has been implemented
* already by Cyril into GxsTransIntegrityCleanupThread */
}
break;
}

View File

@ -1,5 +1,7 @@
/*******************************************************************************
* RetroShare GxsTrans asyncronous redundant small mail trasport on top of GXS *
* libretroshare/src/gxstrans: p3gxstrans.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
@ -19,7 +21,7 @@
*******************************************************************************/
#pragma once
#include <stdint.h>
#include <cstdint>
#include <unordered_map>
#include <map>
@ -68,7 +70,7 @@ struct MsgSizeCount
};
/**
* @brief p3GxsTrans is a mail delivery service based on GXS.
* @brief p3GxsTrans asyncronous redundant small mail trasport on top of GXS.
* p3GxsTrans is capable of asynchronous mail delivery and acknowledgement.
* p3GxsTrans is meant to be capable of multiple encryption options,
* @see RsGxsTransEncryptionMode at moment messages are encrypted using RSA

View File

@ -1,5 +1,7 @@
/*******************************************************************************
* RetroShare GxsTrans asyncronous redundant small mail trasport on top of GXS *
* libretroshare/src/retroshare: rsgxstrans.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
@ -98,6 +100,7 @@ struct RsGxsTransOutgoingRecord
RsGxsGroupId group_id ;
};
/// RetroShare GxsTrans asyncronous redundant small mail trasport on top of GXS
class RsGxsTrans: public RsGxsIfaceHelper
{
public: