aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/ISimulationService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/Interfaces/ISimulationService.cs')
-rw-r--r--OpenSim/Services/Interfaces/ISimulationService.cs81
1 files changed, 81 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs
new file mode 100644
index 0000000..da5410b
--- /dev/null
+++ b/OpenSim/Services/Interfaces/ISimulationService.cs
@@ -0,0 +1,81 @@
1using System;
2using OpenSim.Framework;
3using OpenMetaverse;
4
5namespace OpenSim.Services.Interfaces
6{
7 public interface ISimulationService
8 {
9 #region Agents
10
11 bool CreateAgent(ulong regionHandle, AgentCircuitData aCircuit, out string reason);
12
13 /// <summary>
14 /// Full child agent update.
15 /// </summary>
16 /// <param name="regionHandle"></param>
17 /// <param name="data"></param>
18 /// <returns></returns>
19 bool UpdateAgent(ulong regionHandle, AgentData data);
20
21 /// <summary>
22 /// Short child agent update, mostly for position.
23 /// </summary>
24 /// <param name="regionHandle"></param>
25 /// <param name="data"></param>
26 /// <returns></returns>
27 bool UpdateAgent(ulong regionHandle, AgentPosition data);
28
29 bool RetrieveAgent(ulong regionHandle, UUID id, out IAgentData agent);
30
31 /// <summary>
32 /// Message from receiving region to departing region, telling it got contacted by the client.
33 /// When sent over REST, it invokes the opaque uri.
34 /// </summary>
35 /// <param name="regionHandle"></param>
36 /// <param name="id"></param>
37 /// <param name="uri"></param>
38 /// <returns></returns>
39 bool ReleaseAgent(ulong regionHandle, UUID id, string uri);
40
41 /// <summary>
42 /// Close agent.
43 /// </summary>
44 /// <param name="regionHandle"></param>
45 /// <param name="id"></param>
46 /// <returns></returns>
47 bool CloseAgent(ulong regionHandle, UUID id);
48
49 #endregion Agents
50
51 #region Objects
52
53 /// <summary>
54 /// Create an object in the destination region. This message is used primarily for prim crossing.
55 /// </summary>
56 /// <param name="regionHandle"></param>
57 /// <param name="sog"></param>
58 /// <param name="isLocalCall"></param>
59 /// <returns></returns>
60 bool CreateObject(ulong regionHandle, ISceneObject sog, bool isLocalCall);
61
62 /// <summary>
63 /// Create an object from the user's inventory in the destination region.
64 /// This message is used primarily by clients.
65 /// </summary>
66 /// <param name="regionHandle"></param>
67 /// <param name="userID"></param>
68 /// <param name="itemID"></param>
69 /// <returns></returns>
70 bool CreateObject(ulong regionHandle, UUID userID, UUID itemID);
71
72 #endregion Objects
73
74 #region Regions
75
76 bool HelloNeighbour(ulong regionHandle, RegionInfo thisRegion);
77
78 #endregion Regions
79
80 }
81}