mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed p3portservice. Moved to unfinished/
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4504 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
964f6ccac0
commit
caaeda016d
@ -27,10 +27,8 @@
|
||||
#include "services/p3portservice.h"
|
||||
#include "serialiser/rsserviceids.h"
|
||||
|
||||
#include "pqi/p3linkmgr.h"
|
||||
|
||||
p3PortService::p3PortService(p3LinkMgr *lm)
|
||||
:p3Service(RS_SERVICE_TYPE_PORT), mLinkMgr(lm), mEnabled(false)
|
||||
p3PortService::p3PortService(p3ConnectMgr *cm)
|
||||
:p3Service(RS_SERVICE_TYPE_PORT), mConnMgr(cm), mEnabled(false)
|
||||
{
|
||||
/* For Version 1, we'll just use the very simple RsRawItem packets
|
||||
* which are handled in the RsServiceSerialiser
|
||||
@ -73,7 +71,7 @@ int p3PortService::tick()
|
||||
* */
|
||||
|
||||
/* input data TODO! */
|
||||
void *data;
|
||||
void *data=NULL;
|
||||
uint32_t len=0;
|
||||
|
||||
uint32_t packetId = (((uint32_t) RS_PKT_VERSION_SERVICE) << 24) +
|
@ -59,14 +59,13 @@
|
||||
|
||||
#include "serialiser/rsbaseitems.h"
|
||||
#include "services/p3service.h"
|
||||
|
||||
class p3LinkMgr;
|
||||
#include "pqi/p3connmgr.h"
|
||||
|
||||
|
||||
class p3PortService: public p3Service
|
||||
{
|
||||
public:
|
||||
p3PortService(p3LinkMgr *lm);
|
||||
p3PortService(p3ConnectMgr *cm);
|
||||
|
||||
/* example setup functions */
|
||||
bool enablePortForwarding(uint32_t port, std::string peerId);
|
||||
@ -76,7 +75,7 @@ virtual int tick();
|
||||
|
||||
private:
|
||||
|
||||
p3LinkMgr *mLinkMgr;
|
||||
p3ConnectMgr *mConnMgr;
|
||||
|
||||
bool mEnabled;
|
||||
bool mPeerOnline;
|
Loading…
Reference in New Issue
Block a user