Prim creation added. Session authentication moved to Gridserver interface.

standalone
MW 2007-02-18 18:57:00 +00:00
parent 31209cdab9
commit 06bd7ea167
2 changed files with 5 additions and 2 deletions

View File

@ -68,6 +68,10 @@ namespace OpenSim
return(user); return(user);
} }
/// <summary>
/// used by the local login server to inform us of new sessions
/// </summary>
/// <param name="session"></param>
public void AddNewSession(Logon session) public void AddNewSession(Logon session)
{ {
lock(this.Sessions) lock(this.Sessions)
@ -83,7 +87,6 @@ namespace OpenSim
UUIDBlock RequestUUIDBlock(); UUIDBlock RequestUUIDBlock();
RegionInfo[] RequestNeighbours(); RegionInfo[] RequestNeighbours();
AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode);
void AddNewSession(Logon session);
} }
public struct UUIDBlock public struct UUIDBlock

View File

@ -247,7 +247,7 @@ namespace OpenSim
_login.InventoryFolder = InventoryFolderID; _login.InventoryFolder = InventoryFolderID;
//working on local computer so lets add to the gridserver's list of sessions //working on local computer so lets add to the gridserver's list of sessions
this._gridServer.AddNewSession(_login); ((GridServer)this._gridServer).AddNewSession(_login);
// forward the XML-RPC response to the client // forward the XML-RPC response to the client
writer.WriteLine("HTTP/1.0 200 OK"); writer.WriteLine("HTTP/1.0 200 OK");