From 4920e52f11dadd650e5d9621968aaa60a01c8b9b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 3 Oct 2008 19:42:35 +0000 Subject: * oops, fix build break. * refactoring --- OpenSim/Region/ClientStack/ClientStackManager.cs | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'OpenSim/Region/ClientStack/ClientStackManager.cs') diff --git a/OpenSim/Region/ClientStack/ClientStackManager.cs b/OpenSim/Region/ClientStack/ClientStackManager.cs index 0b0c07f..2751e0a 100644 --- a/OpenSim/Region/ClientStack/ClientStackManager.cs +++ b/OpenSim/Region/ClientStack/ClientStackManager.cs @@ -65,11 +65,45 @@ namespace OpenSim.Region.Environment } } } + + /// + /// Create a server that can set up sessions for virtual world client <-> server communications + /// + /// + /// + /// + /// + /// + /// + /// + public IClientNetworkServer CreateServer( + IPAddress _listenIP, ref uint port, int proxyPortOffset, bool allow_alternate_port, + AssetCache assetCache, AgentCircuitManager authenticateClass) + { + return CreateServer( + _listenIP, ref port, proxyPortOffset, allow_alternate_port, null, assetCache, authenticateClass); + } + /// + /// Create a server that can set up sessions for virtual world client <-> server communications + /// + /// + /// + /// + /// + /// + /// Can be null, in which case default values are used + /// + /// + /// + /// public IClientNetworkServer CreateServer( IPAddress _listenIP, ref uint port, int proxyPortOffset, bool allow_alternate_port, ClientStackUserSettings settings, AssetCache assetCache, AgentCircuitManager authenticateClass) { + if (null == settings) + settings = new ClientStackUserSettings(); + if (plugin != null) { IClientNetworkServer server = -- cgit v1.1