aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2009-07-01 15:47:52 +0000
committerMelanie Thielker2009-07-01 15:47:52 +0000
commit3564271c2d4f769361e36e2a10acbeb3e5f56bdf (patch)
tree5a9ff9a12a239aef2554b01b69c1094fd27725e9 /OpenSim/Framework
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.zip
opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.tar.gz
opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.tar.bz2
opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.tar.xz
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.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs9
1 files changed, 8 insertions, 1 deletions
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
1108 void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message); 1108 void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message);
1109 1109
1110 void SendLogoutPacket(); 1110 void SendLogoutPacket();
1111 ClientInfo GetClientInfo(); 1111 EndPoint GetClientEP();
1112 1112
1113 // WARNING WARNING WARNING
1114 //
1115 // The two following methods are EXCLUSIVELY for the load balancer.
1116 // they cause a MASSIVE performance hit!
1117 //
1118 ClientInfo GetClientInfo();
1113 void SetClientInfo(ClientInfo info); 1119 void SetClientInfo(ClientInfo info);
1120
1114 void SetClientOption(string option, string value); 1121 void SetClientOption(string option, string value);
1115 string GetClientOption(string option); 1122 string GetClientOption(string option);
1116 void Terminate(); 1123 void Terminate();