mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
:: Believe it or not, but INSERT/UPDATE is actually a better pattern than REPLACE, since, with INSERT/UPDATE you can catch erroneous UPDATES to non-INSERTed items as well as catch erroneous re-INSERTS. in 95% of the cases, you SHOULD have a clear INSERT context, and a clear and separate UPDATE context. If you think your case falls within the 5%, maybe you should re-evaluate your code. ::
24 lines
1.0 KiB
C#
24 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using libsecondlife;
|
|
|
|
namespace OpenSim.Data
|
|
{
|
|
public abstract class GridDataBase : IGridData
|
|
{
|
|
public abstract RegionProfileData GetProfileByHandle(ulong regionHandle);
|
|
public abstract RegionProfileData GetProfileByLLUUID(LLUUID UUID);
|
|
public abstract RegionProfileData GetProfileByString(string regionName);
|
|
public abstract RegionProfileData[] GetProfilesInRange(uint Xmin, uint Ymin, uint Xmax, uint Ymax);
|
|
public abstract bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey);
|
|
public abstract void Initialise();
|
|
public abstract void Close();
|
|
public abstract string getName();
|
|
public abstract string getVersion();
|
|
public abstract DataResponse AddProfile(RegionProfileData profile);
|
|
public abstract ReservationData GetReservationAtPoint(uint x, uint y);
|
|
public abstract DataResponse UpdateProfile(RegionProfileData profile);
|
|
}
|
|
}
|