mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
added priority to nxs items (low, same as cache transfer items)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5763 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6f6f55c166
commit
e0d332f564
2 changed files with 8 additions and 2 deletions
|
@ -90,3 +90,6 @@ const uint8_t QOS_PRIORITY_RS_BWCTRL_ALLOWED_ITEM = 9 ;
|
||||||
const uint8_t QOS_PRIORITY_RS_DSDV_ROUTE = 4 ;
|
const uint8_t QOS_PRIORITY_RS_DSDV_ROUTE = 4 ;
|
||||||
const uint8_t QOS_PRIORITY_RS_DSDV_DATA = 2 ;
|
const uint8_t QOS_PRIORITY_RS_DSDV_DATA = 2 ;
|
||||||
|
|
||||||
|
// GXS
|
||||||
|
//
|
||||||
|
const uint8_t QOS_PRIORITY_RS_GXS_NET = 3 ;
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include "serialiser/rstlvbase.h"
|
#include "serialiser/rstlvbase.h"
|
||||||
#include "serialiser/rstlvtypes.h"
|
#include "serialiser/rstlvtypes.h"
|
||||||
#include "serialiser/rstlvkeys.h"
|
#include "serialiser/rstlvkeys.h"
|
||||||
|
|
||||||
#include "gxs/rsgxsdata.h"
|
#include "gxs/rsgxsdata.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -69,7 +68,11 @@ class RsNxsItem : public RsItem
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RsNxsItem(uint16_t servtype, uint8_t subtype)
|
RsNxsItem(uint16_t servtype, uint8_t subtype)
|
||||||
: RsItem(RS_PKT_VERSION_SERVICE, servtype, subtype), transactionNumber(0) { return; }
|
: RsItem(RS_PKT_VERSION_SERVICE, servtype, subtype), transactionNumber(0)
|
||||||
|
{
|
||||||
|
setPriorityLevel(QOS_PRIORITY_RS_GXS_NET);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
virtual void clear() = 0;
|
virtual void clear() = 0;
|
||||||
virtual std::ostream &print(std::ostream &out, uint16_t indent = 0) = 0;
|
virtual std::ostream &print(std::ostream &out, uint16_t indent = 0) = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue