aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ClientManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-39/+9
|
* * Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) ↵John Hurliman2009-10-271-1/+4
| | | | | | to use a non-blocking parallel method when operating in async mode * Minor code readability cleanup
* * Switched to a plain lock for the ClientManager collections and protected ↵John Hurliman2009-10-141-69/+81
| | | | | | the TryGetValues with try/catch instead of a lock * Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
* * Copied LocklessQueue.cs into OpenSim.Framework and added the .Count ↵John Hurliman2009-10-131-14/+9
| | | | | | | | | property and .Clear() method * Changed the way the QueueEmpty callback is fired. It will be fired asynchronously as soon as an empty queue is detected (this can happen immediately following a dequeue), and will not be fired again until at least one packet is dequeued from that queue. This will give callbacks advanced notice of an empty queue and prevent callbacks from stacking up while the queue is empty * Added LLUDPClient.IsConnected checks in several places to prevent unwanted network activity after a client disconnects * Prevent LLClientView.Close() from being called twice every disconnect * Removed the packet resend limit and improved the client timeout check
* * Consolidated adding / removing ClientManager IClientAPIs to two places in ↵John Hurliman2009-10-131-0/+14
| | | | | | | | Scene * Added some missing implementations of IClientAPI.RemoteEndPoint * Added a ClientManager.Remove(UUID) overload * Removed a reference to a missing project from prebuild.xml
* * Fixed a bug where clients were being added to ClientManager twiceJohn Hurliman2009-10-131-11/+11
| | | | | | * Changed the ClientManager interface to reduce potential errors with duplicate or mismatched keys * Added IClientAPI.RemoteEndPoint, which can (hopefully) eventually replace IClientAPI.CircuitCode * Changed the order of operations during client shutdown
* * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2009-10-131-26/+144
| | | | | | | | performance by removing locks, and replace LLUDPClientCollection * Removed the confusing (and LL-specific) shutdowncircuit parameter from IClientAPI.Close() * Updated the LLUDP code to only use ClientManager instead of trying to synchronize ClientManager and m_clients * Remove clients asynchronously since it is a very slow operation (including a 2000ms sleep)
* * Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman2009-10-131-150/+13
| | | | | | | | disconnects * Move ViewerEffect handling to Scene.PacketHandlers * Removing the unused CloseAllAgents function * Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
* Formatting cleanup.Jeff Ames2009-10-011-2/+2
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-061-2/+0
|
* * Added and removed debug information relating to client connectionsAdam Frisby2008-11-181-2/+1
| | | | | | * Minor client fixes * Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
* * Added IClientIM to IClientCore interfacesAdam Frisby2008-11-081-1/+1
| | | | | | * Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.*
* test: Extend malformed packet test to actually check that a valid packet can ↵Justin Clarke Casey2008-10-301-0/+2
| | | | get through after the malformed ones have been sent
* * refactor: move viewer effect packet into LLClientViewJustin Clarke Casey2008-10-151-8/+1
|
* * Create a new ViewerEffectPacket for each viewer rather than reusing the ↵Justin Clarke Casey2008-10-151-4/+6
| | | | | | | | packet structure * This would have been a source of out_of_order messages for different sequences, which still appear to be happening
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-4/+4
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* De-coupling the IClientAPI interface and ClientManager class from theMike Mazur2008-08-081-1/+6
| | | | | | | libsl/libomv Packet, as other client stacks could use other data types to pass packets around. Starting with InPacket() here, more to come.
* dr scofield's warning safari:Dr Scofield2008-06-271-1/+1
| | | | | | | | | | * commented out [Obsolete(....)] attributes where no replacement feature was available: if we want to attribute code that we think needs to be reworked, we should define a new attribute and use that instead (together with a little tool to retrieve all the attributed code then) * commenting out unused variables
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-041-0/+1
|
* Formatting cleanup.Jeff Ames2008-05-161-1/+1
|
* * Added 3 warnings in response to the warnings. Adam, read the warnings.Teravus Ovares2008-05-141-1/+1
|
* * Experiment in Zerocoding.Teravus Ovares2008-05-101-0/+1
|
* * Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg.Adam Frisby2008-05-081-2/+1
|
* * Attempted Fix for 1191 - Crash on ViewerEffectHandler. We are missing ↵Adam Frisby2008-05-081-0/+2
| | | | typedata data however it seems.
* * You can haz more spring cleaning.Adam Frisby2008-05-081-2/+1
| | | | | * Eventually this codebase will be clean. >_>
* * Removes references to libsecondlife.Packets from IClientAPI. BAD ↵Adam Frisby2008-05-071-4/+15
| | | | | | | PROGRAMMERS. NAUGHTY. * Thanks to Andrew (DeepThink) for working on this one.
* * Spring cleaning.Adam Frisby2008-04-291-12/+12
| | | | | * Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-3/+5
| | | | (this took a while to run).
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* Cleaned up a couple compiler warnings.Jeff Ames2008-03-041-1/+0
|
* Fixed a region split synchronization bugJohan Berntsson2008-03-041-0/+11
|
* Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson2008-03-041-1/+1
| | | | support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* Committing ahzz's patch #619 - Description:Teravus Ovares2008-02-181-9/+24
| | | | | | | | Patch provided by Openlifegrid.com Adds locks around clientCircuits and clientCircuits_reverse Adds existance check on adding to clientCircuits for clients resending UseCircuit packet. Adds locks around Clientmanager.m_clients for add/remove/tryGet calls
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-2/+2
|
* Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey2008-02-081-0/+3
| | | | light verbosity to this end
* * This update contains a bucket-full of network optimizations.Teravus Ovares2008-02-071-0/+1
| | | | | | | | | * ParcelProperties are sent only when needed instead of on any movement * Terse Updates and other temporary data packets are marked unreliable * After a certain amount of users, the sim actually sends updates on things less * Experimental * Tested to 68 avatar with pCampBot (And it's surprising what actually causes the most lag.. the text chat!)
* * Chasing down memory leak where memory used by a client is not returned on ↵Justin Clarke Casey2008-02-061-1/+1
| | | | | | | | client logout * This code may or may not be on the right track, but I want to save my work so far.
* Converted logging to use log4net.Jeff Ames2008-02-051-7/+4
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * possibly the least significant commit so far into 2008lbsa712008-01-041-1/+1
|
* I have fixed the ZeroDecodeCommand bug, and restored my packet recycling ↵Johan Berntsson2008-01-031-1/+2
| | | | code. Let me know by IRC if there are other problems
* * This update rolls back the packetpool and LibSL changes. Please retest ↵Teravus Ovares2007-12-301-2/+1
| | | | | | | and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version. * This update also fixes scripting and some weird physics reactions
* Patch from Johan: LibSL updated to the latest revision (1568) and all ↵Adam Johnson2007-12-281-13/+13
| | | | | | | packets are now recycled to improve performance and memory usage.
* * Optimized usingslbsa712007-12-271-10/+11
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Remapped the Connection shutdown path.Teravus Ovares2007-12-211-1/+1
| | | | | | | | | * This fixes a *bunch* of Mantis bugs related to the following * -- Neighbouring simulators not appearing after relog * -- Login to simulator only to be logged off by simulator. * -- ThreadAbort * -- Unable to shutdown circuitCode: x
* * Turned all instances of ForEach loops in ClientManager into Local Arrays. Teravus Ovares2007-12-171-15/+60
| | | | | | * Added Locking while the Copy is taking place. * Added an error message to describe what's actually happening.
* * Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares2007-11-181-1/+1
| | | | This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
* * Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa712007-10-311-0/+135