From ade107f04f42f448d0a7b34ae552cf54c3bf4f7e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 12 Jan 2009 19:37:56 +0000 Subject: * Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods) --- OpenSim/Framework/IClientAPI.cs | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'OpenSim/Framework') 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 /// string Name { get; } + /// + /// Determines whether the client thread is doing anything or not. + /// bool IsActive { get; set; } bool SendLogoutPacketWhenClosing { set; } @@ -749,6 +752,23 @@ namespace OpenSim.Framework event UserInfoRequest OnUserInfoRequest; event UpdateUserInfo OnUpdateUserInfo; + + /// + /// Set the debug level at which packet output should be printed to console. + /// + void SetDebugPacketLevel(int newDebug); + + void InPacket(object NewPack); + void ProcessInPacket(Packet NewPack); + void Close(bool ShutdownCircuit); + void Kick(string message); + + /// + /// Start processing for this client. + /// + void Start(); + + void Stop(); // void ActivateGesture(UUID assetId, UUID gestureId); @@ -1034,16 +1054,6 @@ namespace OpenSim.Framework byte[] GetThrottlesPacked(float multiplier); - /// - /// Set the debug level at which packet output should be printed to console. - /// - void SetDebugPacketLevel(int newDebug); - - void InPacket(object NewPack); - void ProcessInPacket(Packet NewPack); - void Close(bool ShutdownCircuit); - void Kick(string message); - void Stop(); event ViewerEffectEventHandler OnViewerEffect; event Action OnLogout; event Action OnConnectionClosed; -- cgit v1.1