Merge branch 'master' into careminster

avinationmerge
Melanie 2013-04-16 22:37:47 +01:00
commit d3f288e27b
3 changed files with 14 additions and 8 deletions

View File

@ -821,7 +821,7 @@ namespace OpenSim
if (foundClientServer) if (foundClientServer)
{ {
m_clientServers[clientServerElement].NetworkStop(); m_clientServers[clientServerElement].Stop();
m_clientServers.RemoveAt(clientServerElement); m_clientServers.RemoveAt(clientServerElement);
} }
} }

View File

@ -38,11 +38,22 @@ namespace OpenSim.Region.ClientStack
IPAddress _listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, IPAddress _listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource,
AgentCircuitManager authenticateClass); AgentCircuitManager authenticateClass);
void NetworkStop();
bool HandlesRegion(Location x); bool HandlesRegion(Location x);
void AddScene(IScene x);
/// <summary>
/// Add the given scene to be handled by this IClientNetworkServer.
/// </summary>
/// <param name='scene'></param>
void AddScene(IScene scene);
/// <summary>
/// Start sending and receiving data.
/// </summary>
void Start(); void Start();
/// <summary>
/// Stop sending and receiving data.
/// </summary>
void Stop(); void Stop();
} }
} }

View File

@ -62,11 +62,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_udpServer = new LLUDPServer(listenIP, ref port, proxyPortOffsetParm, allow_alternate_port, configSource, circuitManager); m_udpServer = new LLUDPServer(listenIP, ref port, proxyPortOffsetParm, allow_alternate_port, configSource, circuitManager);
} }
public void NetworkStop()
{
m_udpServer.Stop();
}
public void AddScene(IScene scene) public void AddScene(IScene scene)
{ {
m_udpServer.AddScene(scene); m_udpServer.AddScene(scene);