aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-12 19:37:56 +0000
committerJustin Clarke Casey2009-01-12 19:37:56 +0000
commitade107f04f42f448d0a7b34ae552cf54c3bf4f7e (patch)
tree3a3ca6b6104dd3f37e7596ebc27aa72d91c784d2 /OpenSim/Framework/IClientAPI.cs
parentFix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005. (diff)
downloadopensim-SC-ade107f04f42f448d0a7b34ae552cf54c3bf4f7e.zip
opensim-SC-ade107f04f42f448d0a7b34ae552cf54c3bf4f7e.tar.gz
opensim-SC-ade107f04f42f448d0a7b34ae552cf54c3bf4f7e.tar.bz2
opensim-SC-ade107f04f42f448d0a7b34ae552cf54c3bf4f7e.tar.xz
* Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods)
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IClientAPI.cs30
1 files changed, 20 insertions, 10 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index cb60028..0d44abd 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -527,6 +527,9 @@ namespace OpenSim.Framework
527 /// </summary> 527 /// </summary>
528 string Name { get; } 528 string Name { get; }
529 529
530 /// <value>
531 /// Determines whether the client thread is doing anything or not.
532 /// </value>
530 bool IsActive { get; set; } 533 bool IsActive { get; set; }
531 534
532 bool SendLogoutPacketWhenClosing { set; } 535 bool SendLogoutPacketWhenClosing { set; }
@@ -749,6 +752,23 @@ namespace OpenSim.Framework
749 752
750 event UserInfoRequest OnUserInfoRequest; 753 event UserInfoRequest OnUserInfoRequest;
751 event UpdateUserInfo OnUpdateUserInfo; 754 event UpdateUserInfo OnUpdateUserInfo;
755
756 /// <summary>
757 /// Set the debug level at which packet output should be printed to console.
758 /// </summary>
759 void SetDebugPacketLevel(int newDebug);
760
761 void InPacket(object NewPack);
762 void ProcessInPacket(Packet NewPack);
763 void Close(bool ShutdownCircuit);
764 void Kick(string message);
765
766 /// <summary>
767 /// Start processing for this client.
768 /// </summary>
769 void Start();
770
771 void Stop();
752 772
753 // void ActivateGesture(UUID assetId, UUID gestureId); 773 // void ActivateGesture(UUID assetId, UUID gestureId);
754 774
@@ -1034,16 +1054,6 @@ namespace OpenSim.Framework
1034 1054
1035 byte[] GetThrottlesPacked(float multiplier); 1055 byte[] GetThrottlesPacked(float multiplier);
1036 1056
1037 /// <summary>
1038 /// Set the debug level at which packet output should be printed to console.
1039 /// </summary>
1040 void SetDebugPacketLevel(int newDebug);
1041
1042 void InPacket(object NewPack);
1043 void ProcessInPacket(Packet NewPack);
1044 void Close(bool ShutdownCircuit);
1045 void Kick(string message);
1046 void Stop();
1047 event ViewerEffectEventHandler OnViewerEffect; 1057 event ViewerEffectEventHandler OnViewerEffect;
1048 event Action<IClientAPI> OnLogout; 1058 event Action<IClientAPI> OnLogout;
1049 event Action<IClientAPI> OnConnectionClosed; 1059 event Action<IClientAPI> OnConnectionClosed;