diff options
author | gareth | 2007-03-18 20:18:52 +0000 |
---|---|---|
committer | gareth | 2007-03-18 20:18:52 +0000 |
commit | 99c56acf746516068562fd42ab286668413894e8 (patch) | |
tree | 6bd5141f0db0cf44d8fbaf4855f65fe3de414695 /src/GridInterfaces/IGridServer.cs | |
parent | Added neighbourinfo class (diff) | |
download | opensim-SC-99c56acf746516068562fd42ab286668413894e8.zip opensim-SC-99c56acf746516068562fd42ab286668413894e8.tar.gz opensim-SC-99c56acf746516068562fd42ab286668413894e8.tar.bz2 opensim-SC-99c56acf746516068562fd42ab286668413894e8.tar.xz |
Added some sanity
Diffstat (limited to 'src/GridInterfaces/IGridServer.cs')
-rw-r--r-- | src/GridInterfaces/IGridServer.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GridInterfaces/IGridServer.cs b/src/GridInterfaces/IGridServer.cs index 51f5054..8ab0971 100644 --- a/src/GridInterfaces/IGridServer.cs +++ b/src/GridInterfaces/IGridServer.cs | |||
@@ -47,12 +47,12 @@ namespace OpenSim.GridServers | |||
47 | public interface IGridServer | 47 | public interface IGridServer |
48 | { | 48 | { |
49 | UUIDBlock RequestUUIDBlock(); | 49 | UUIDBlock RequestUUIDBlock(); |
50 | void RequestNeighbours(); //should return a array of neighbouring regions | 50 | neighbourinfo[] RequestNeighbours(); //should return a array of neighbouring regions |
51 | AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); | 51 | AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); |
52 | bool LogoutSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); | 52 | bool LogoutSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); |
53 | string GetName(); | 53 | string GetName(); |
54 | bool RequestConnection(); | 54 | bool RequestConnection(); |
55 | void SetServerInfo(string ServerUrl, string ServerKey); | 55 | void SetServerInfo(string GridServerUrl, string GridSendKey, string GridRecvKey, string UserServerUrl, string UserSendKey, string UserRecvKey); |
56 | } | 56 | } |
57 | 57 | ||
58 | public abstract class RemoteGridBase : IGridServer | 58 | public abstract class RemoteGridBase : IGridServer |
@@ -63,23 +63,23 @@ namespace OpenSim.GridServers | |||
63 | } | 63 | } |
64 | 64 | ||
65 | public abstract UUIDBlock RequestUUIDBlock(); | 65 | public abstract UUIDBlock RequestUUIDBlock(); |
66 | public abstract void RequestNeighbours(); | 66 | public abstract neighbourinfo[] RequestNeighbours(); |
67 | public abstract AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); | 67 | public abstract AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); |
68 | public abstract bool LogoutSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); | 68 | public abstract bool LogoutSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); |
69 | public abstract string GetName(); | 69 | public abstract string GetName(); |
70 | public abstract bool RequestConnection(); | 70 | public abstract bool RequestConnection(); |
71 | public abstract void SetServerInfo(string ServerUrl, string ServerKey); | 71 | public abstract void SetServerInfo(string GridServerUrl, string GridSendKey, string GridRecvKey, string UserServerUrl, string UserSendKey, string UserRecvKey); |
72 | } | 72 | } |
73 | 73 | ||
74 | public abstract class LocalGridBase : IGridServer | 74 | public abstract class LocalGridBase : IGridServer |
75 | { | 75 | { |
76 | public abstract UUIDBlock RequestUUIDBlock(); | 76 | public abstract UUIDBlock RequestUUIDBlock(); |
77 | public abstract void RequestNeighbours(); | 77 | public abstract neighbourinfo[] RequestNeighbours(); |
78 | public abstract AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); | 78 | public abstract AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); |
79 | public abstract bool LogoutSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); | 79 | public abstract bool LogoutSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); |
80 | public abstract string GetName(); | 80 | public abstract string GetName(); |
81 | public abstract bool RequestConnection(); | 81 | public abstract bool RequestConnection(); |
82 | public abstract void SetServerInfo(string ServerUrl, string ServerKey); | 82 | public abstract void SetServerInfo(string GridServerUrl, string GridSendKey, string GridRecvKey, string UserServerUrl, string UserSendKey, string UserRecvKey); |
83 | public abstract void AddNewSession(Login session); | 83 | public abstract void AddNewSession(Login session); |
84 | } | 84 | } |
85 | 85 | ||