From 3564271c2d4f769361e36e2a10acbeb3e5f56bdf Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 1 Jul 2009 15:47:52 +0000 Subject: 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. --- OpenSim/Framework/IClientAPI.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/IClientAPI.cs') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 2a81d5c..7c8b1aa 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -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(); -- cgit v1.1