* HttpRequestSignature uses regular expressions for the path now

* Added a simplified HttpListener.AddHandler() overload
* Lots of improvements in ExtensionLoader, simplified interface
* Updated Simian to latest ExtensionLoader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2316 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-10-29 20:11:28 +00:00
parent ce99ebcab7
commit dad28f767a
23 changed files with 357 additions and 331 deletions

View File

@@ -68,21 +68,20 @@ namespace Simian
}
}
public class UDPManager : IExtension, IUDPProvider
public class UDPManager : IExtension<Simian>, IUDPProvider
{
Simian Server;
Simian server;
UDPServer udpServer;
public UDPManager(Simian server)
public UDPManager()
{
Server = server;
// Have to do this in the constructor, because we don't know that the
// UDP extension will be started before other extensions
udpServer = new UDPServer(Server.UDPPort, Server);
}
public void Start()
public void Start(Simian server)
{
this.server = server;
udpServer = new UDPServer(server.UDPPort, server);
}
public void Stop()