diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/ILoginService.cs (renamed from OpenSim/Grid/Framework/IMessagingServerDiscovery.cs) | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs b/OpenSim/Services/Interfaces/ILoginService.cs index c996f4f..24bf342 100644 --- a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs +++ b/OpenSim/Services/Interfaces/ILoginService.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -26,15 +26,28 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections; | ||
29 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
30 | using OpenSim.Framework.Servers; | 31 | using System.Net; |
31 | 32 | ||
32 | namespace OpenSim.Grid.Framework | 33 | using OpenMetaverse.StructuredData; |
34 | |||
35 | namespace OpenSim.Services.Interfaces | ||
33 | { | 36 | { |
34 | public interface IMessagingServerDiscovery | 37 | public abstract class LoginResponse |
35 | { | 38 | { |
36 | List<MessageServerInfo> GetMessageServersList(); | 39 | public abstract Hashtable ToHashtable(); |
37 | void RegisterMessageServer(MessageServerInfo m); | 40 | public abstract OSD ToOSDMap(); |
38 | void DeRegisterMessageServer(MessageServerInfo m); | ||
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 | } |