RetroShare/tests/librssimulator/testing/SetPacket.h
drbob 6be4a464a5 Add second testing Simulator.
It has a number of PeerNodes, and captures traffic for examination.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 12:13:55 +00:00

28 lines
462 B
C++

#pragma once
#include "pqi/p3linkmgr.h" // for RsPeerId ??
#include <list>
#include "retroshare/rsids.h"
class RsItem;
class SetPacket
{
public:
SetPacket(double t, const RsPeerId &srcId,
const RsPeerId &destId, RsItem *item)
:mTime(t), mSrcId(srcId), mDestId(destId), mItem(item)
{
return;
}
SetPacket() :mTime(), mItem(NULL) { return; }
double mTime; // relative to test creation;
RsPeerId mSrcId;
RsPeerId mDestId;
RsItem *mItem;
};