Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though.

But its one more thing out of the CommsManager. One day we will kill the CommsManager!
This commit is contained in:
MW
2008-02-16 13:01:42 +00:00
parent 694dff3b70
commit b618802e53
9 changed files with 701 additions and 60 deletions

View File

@@ -25,6 +25,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
//moved to a module, left here until the module is found to have no problems
/*
using System;
using System.Collections.Generic;
using System.IO;
@@ -553,3 +555,4 @@ namespace OpenSim.Framework.Communications.Cache
#endregion
}
}
*/

View File

@@ -26,6 +26,8 @@
*
*/
//moved to a module, left here until the module is found to have no problems
/*
using System;
using System.Collections.Generic;
@@ -181,7 +183,7 @@ namespace OpenSim.Framework.Communications.Cache
//m_log.InfoFormat("[ASSET TRANSACTIONS] Current uploaders: {0}", transactions.XferUploaders.Count);
}*/
}
/* }
}
}
@@ -201,3 +203,4 @@ namespace OpenSim.Framework.Communications.Cache
}
}
}
*/

View File

@@ -73,12 +73,12 @@ namespace OpenSim.Framework.Communications
get { return m_userProfileCacheService; }
}
protected AgentAssetTransactionsManager m_transactionsManager;
// protected AgentAssetTransactionsManager m_transactionsManager;
public AgentAssetTransactionsManager TransactionsManager
{
get { return m_transactionsManager; }
}
// public AgentAssetTransactionsManager TransactionsManager
// {
// get { return m_transactionsManager; }
// }
protected AssetCache m_assetCache;
@@ -100,7 +100,7 @@ namespace OpenSim.Framework.Communications
m_networkServersInfo = serversInfo;
m_assetCache = assetCache;
m_userProfileCacheService = new UserProfileCacheService(this);
m_transactionsManager = new AgentAssetTransactionsManager(this, dumpAssetsToFile);
// m_transactionsManager = new AgentAssetTransactionsManager(this, dumpAssetsToFile);
}
public void doCreate(string[] cmmdParams)