refactor: Remove IClientNetworkServer.NetworkStop() in favour of existing Stop().
This was an undocumented interface which I think was for long defunct region load balancing experiments. Also adds method doc for some IClientNetworkServer methods.user_profiles
parent
5f2cbfc0fd
commit
c5de9840b0
|
@ -737,7 +737,7 @@ namespace OpenSim
|
|||
|
||||
if (foundClientServer)
|
||||
{
|
||||
m_clientServers[clientServerElement].NetworkStop();
|
||||
m_clientServers[clientServerElement].Stop();
|
||||
m_clientServers.RemoveAt(clientServerElement);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,11 +38,22 @@ namespace OpenSim.Region.ClientStack
|
|||
IPAddress _listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource,
|
||||
AgentCircuitManager authenticateClass);
|
||||
|
||||
void NetworkStop();
|
||||
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();
|
||||
|
||||
/// <summary>
|
||||
/// Stop sending and receiving data.
|
||||
/// </summary>
|
||||
void Stop();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,11 +62,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
m_udpServer = new LLUDPServer(listenIP, ref port, proxyPortOffsetParm, allow_alternate_port, configSource, circuitManager);
|
||||
}
|
||||
|
||||
public void NetworkStop()
|
||||
{
|
||||
m_udpServer.Stop();
|
||||
}
|
||||
|
||||
public void AddScene(IScene scene)
|
||||
{
|
||||
m_udpServer.AddScene(scene);
|
||||
|
|
Loading…
Reference in New Issue