nxsnetservice, changed how resources are managed and rationalised interface

also mainly to switch windows dev system


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-06-16 13:59:40 +00:00
parent a8676302ce
commit 7a22d4fe69
3 changed files with 33 additions and 65 deletions

View file

@ -17,6 +17,7 @@
* This represents a transaction made
* with the NxsNetService in all states
* of operation until completion
*
*/
class NxsTransaction
{
@ -71,7 +72,7 @@ typedef std::map<std::string, TransactionIdMap > TransactionsPeerMap;
/*!
*
* Resource use,
*
*/
class RsGxsNetService : public RsNetworkExchangeService, public RsThread,
@ -112,14 +113,6 @@ public:
*/
void requestMessagesOfPeer(const std::string& peerId, const RsGxsGrpId& grpId){ return; }
/*!
* subscribes the associated service to this group. This RsNetworktExchangeService
* now regularly polls all peers for new messages of this group
* @param grpId the id of the group to subscribe to
* @param subscribe set to true to subscribe or false to unsubscribe
*/
void subscribeToGroup(const std::string& grpId, bool subscribe);
/*!
* Initiates a search through the network
* This returns messages which contains the search terms set in RsGxsSearch