From 70d9cec3b5064d874f8b9622804c964beeac5f0d Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 18 Sep 2007 13:29:16 +0000 Subject: * Yet some more connectivity restructuring * We now have CloseAllAgents( circuit ) and CloseAllCircuits( agentId ) for great justice ( but alas, still only closing on one single scene - be brave! ) * Login and ConnectionClosed now eventified and moveified awayified * Killed off unused NullClientAPI * Now the client is almost only responsible for its own closing. ( I will get that scene out of there ) * Lookin' good! --- OpenSim/Framework/General/Interfaces/IClientAPI.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Framework/General/Interfaces/IClientAPI.cs') diff --git a/OpenSim/Framework/General/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs index 9c0771f..5fd5adf 100644 --- a/OpenSim/Framework/General/Interfaces/IClientAPI.cs +++ b/OpenSim/Framework/General/Interfaces/IClientAPI.cs @@ -25,6 +25,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ +using System; using System.Collections.Generic; using System.Net; using libsecondlife; @@ -192,6 +193,12 @@ namespace OpenSim.Framework.Interfaces get; } + uint CircuitCode + { + get; + set; + } + void OutPacket(Packet newPack); void SendWearables(AvatarWearable[] wearables); void SendAppearance(LLUUID agentID, byte[] visualParams, byte[] textureEntry); @@ -245,5 +252,7 @@ namespace OpenSim.Framework.Interfaces void InPacket(Packet NewPack); void Close(); event ViewerEffectEventHandler OnViewerEffect; + event Action OnLogout; + event Action OnConnectionClosed; } } -- cgit v1.1