Offline IM: moved the Data and MySQL bits to the corresponding places in core, so that it will be easier to plugin a SQLite backend, if anyone is interested in doing that.
parent
9e460f2af8
commit
46e182dbf5
|
@ -29,7 +29,7 @@ using System.Collections.Generic;
|
||||||
using OpenSim.Data;
|
using OpenSim.Data;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
|
||||||
namespace OpenSim.OfflineIM
|
namespace OpenSim.Data
|
||||||
{
|
{
|
||||||
public class OfflineIMData
|
public class OfflineIMData
|
||||||
{
|
{
|
|
@ -36,16 +36,10 @@ using OpenSim.Data.MySQL;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
using MySql.Data.MySqlClient;
|
using MySql.Data.MySqlClient;
|
||||||
|
|
||||||
namespace OpenSim.OfflineIM
|
namespace OpenSim.Data.MySQL
|
||||||
{
|
{
|
||||||
public class MySQLOfflineIMData : MySQLGenericTableHandler<OfflineIMData>, IOfflineIMData
|
public class MySQLOfflineIMData : MySQLGenericTableHandler<OfflineIMData>, IOfflineIMData
|
||||||
{
|
{
|
||||||
protected override Assembly Assembly
|
|
||||||
{
|
|
||||||
// WARNING! Moving migrations to this assembly!!!
|
|
||||||
get { return GetType().Assembly; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public MySQLOfflineIMData(string connectionString, string realm)
|
public MySQLOfflineIMData(string connectionString, string realm)
|
||||||
: base(connectionString, realm, "IM_Store")
|
: base(connectionString, realm, "IM_Store")
|
||||||
{
|
{
|
|
@ -542,9 +542,9 @@
|
||||||
;; URL of web service for offline message storage. Leave it commented if your service is local to the sim.
|
;; URL of web service for offline message storage. Leave it commented if your service is local to the sim.
|
||||||
; OfflineMessageURL = http://yourserver/Offline.php or http://yourrobustserver:8003
|
; OfflineMessageURL = http://yourserver/Offline.php or http://yourrobustserver:8003
|
||||||
|
|
||||||
;# {StorageProvider} {Offline Message Module V2:Offline Message Module V2} {DLL that provides the storage interface} {OpenSim.Addons.OfflineIM}
|
;# {StorageProvider} {Offline Message Module V2:Offline Message Module V2} {DLL that provides the storage interface} {OpenSim.Data.MySQL.dll}
|
||||||
;; For standalones, use the service directly. This is the storage dll.
|
;; For standalones, this is the storage dll.
|
||||||
; StorageProvider = OpenSim.Addons.OfflineIM.dll
|
; StorageProvider = OpenSim.Data.MySQL.dll
|
||||||
|
|
||||||
;# {MuteListModule} {OfflineMessageModule:OfflineMessageModule} {} {} MuteListModule
|
;# {MuteListModule} {OfflineMessageModule:OfflineMessageModule} {} {} MuteListModule
|
||||||
;; Mute list handler (not yet implemented). MUST BE SET to allow offline
|
;; Mute list handler (not yet implemented). MUST BE SET to allow offline
|
||||||
|
|
|
@ -548,6 +548,5 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset
|
||||||
|
|
||||||
[Messaging]
|
[Messaging]
|
||||||
; OfflineIM
|
; OfflineIM
|
||||||
StorageProvider = "OpenSim.Addons.OfflineIM.dll"
|
|
||||||
OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
|
OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
|
||||||
|
|
||||||
|
|
|
@ -334,7 +334,6 @@ MapGetServiceConnector = "8002/OpenSim.Server.Handlers.dll:MapGetServiceConnecto
|
||||||
|
|
||||||
[Messaging]
|
[Messaging]
|
||||||
; OfflineIM
|
; OfflineIM
|
||||||
StorageProvider = "OpenSim.Addons.OfflineIM.dll"
|
|
||||||
OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
|
OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
|
||||||
|
|
||||||
[GridInfoService]
|
[GridInfoService]
|
||||||
|
|
Loading…
Reference in New Issue