diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/ILoginService.cs (renamed from OpenSim/Grid/Framework/IGridServiceCore.cs) | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/OpenSim/Grid/Framework/IGridServiceCore.cs b/OpenSim/Services/Interfaces/ILoginService.cs index da83ade..24bf342 100644 --- a/OpenSim/Grid/Framework/IGridServiceCore.cs +++ b/OpenSim/Services/Interfaces/ILoginService.cs | |||
@@ -26,15 +26,28 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenSim.Framework.Servers.HttpServer; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | ||
31 | using System.Net; | ||
30 | 32 | ||
31 | namespace OpenSim.Grid.Framework | 33 | using OpenMetaverse.StructuredData; |
34 | |||
35 | namespace OpenSim.Services.Interfaces | ||
32 | { | 36 | { |
33 | public interface IGridServiceCore | 37 | public abstract class LoginResponse |
34 | { | 38 | { |
35 | T Get<T>(); | 39 | public abstract Hashtable ToHashtable(); |
36 | void RegisterInterface<T>(T iface); | 40 | public abstract OSD ToOSDMap(); |
37 | bool TryGet<T>(out T iface); | ||
38 | BaseHttpServer GetHttpServer(); | ||
39 | } | 41 | } |
42 | |||
43 | public abstract class FailedLoginResponse : LoginResponse | ||
44 | { | ||
45 | } | ||
46 | |||
47 | public interface ILoginService | ||
48 | { | ||
49 | LoginResponse Login(string firstName, string lastName, string passwd, string startLocation, IPEndPoint clientIP); | ||
50 | } | ||
51 | |||
52 | |||
40 | } | 53 | } |