* Fixed a nasty OSD->JSON bug that was producing invalid JSON for empty arrays or dictionaries

* Several fixes in OpenMetaverse.Http.CapsServer and OpenMetaverse.Http.EventQueueServer (this is the first time they've been tested)
[Simian]
* Initial capabilities and EventQueue support (appears to be working)
* HyperGrid is almost working
* More cleanup with how agents are removed from the scene

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2427 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-02-04 23:00:33 +00:00
parent 875aa0b6e8
commit 808b681b83
17 changed files with 689 additions and 138 deletions

View File

@@ -10,7 +10,6 @@ namespace Simian
bool RemoveAnimation(Agent agent, UUID animID);
bool ClearAnimations(Agent agent);
void SendAnimations(Agent agent);
void Disconnect(Agent agent);
void SendAlert(Agent agent, string message);
}

View File

@@ -8,10 +8,8 @@ namespace Simian
{
public interface ICapabilitiesProvider
{
UUID CreateCapability(HttpRequestCallback localHandler, bool clientCertRequired);
UUID CreateCapability(Uri remoteHandler, bool clientCertRequired);
bool RemoveCapability(UUID capID);
void SendEvent(Agent agent, string name, OSDMap body);
Uri CreateCapability(CapsRequestCallback localHandler, bool clientCertRequired, object state);
Uri CreateCapability(Uri remoteHandler, bool clientCertRequired);
bool RemoveCapability(Uri cap);
}
}

View File

@@ -1,6 +1,8 @@
using System;
using System.Collections.Generic;
using HttpServer;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace Simian
{
@@ -76,5 +78,8 @@ namespace Simian
bool TryGetAgent(uint localID, out Agent agent);
bool TryGetAgent(UUID id, out Agent agent);
void ForEachAgent(Action<Agent> action);
void SendEvent(Agent agent, string name, OSDMap body);
bool SeedCapabilityHandler(IHttpClientContext context, IHttpRequest request, IHttpResponse response, object state);
}
}