mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Restore the functionality that was removed in r9928. This lets the load
balancer plugin work again. Create a new method, GetClientEP, to retrieve only the EndPoint for script usage. Marked the purpose of the method in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo functionality.
This commit is contained in:
@@ -1108,9 +1108,16 @@ namespace OpenSim.Framework
|
||||
void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message);
|
||||
|
||||
void SendLogoutPacket();
|
||||
ClientInfo GetClientInfo();
|
||||
EndPoint GetClientEP();
|
||||
|
||||
// WARNING WARNING WARNING
|
||||
//
|
||||
// The two following methods are EXCLUSIVELY for the load balancer.
|
||||
// they cause a MASSIVE performance hit!
|
||||
//
|
||||
ClientInfo GetClientInfo();
|
||||
void SetClientInfo(ClientInfo info);
|
||||
|
||||
void SetClientOption(string option, string value);
|
||||
string GetClientOption(string option);
|
||||
void Terminate();
|
||||
|
||||
Reference in New Issue
Block a user