aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ClientManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-15remove a Paralell.For (actually not used). That kind of fine gained ↵UbitUmarov1-39/+9
multitask makes no sense on already heavy multitasked server application like opensim. CPU cores are already busy or needed elsewhere.
2009-10-27* Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) ↵John Hurliman1-1/+4
to use a non-blocking parallel method when operating in async mode * Minor code readability cleanup
2009-10-14* Switched to a plain lock for the ClientManager collections and protected ↵John Hurliman1-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"
2009-10-13* Copied LocklessQueue.cs into OpenSim.Framework and added the .Count ↵John Hurliman1-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
2009-10-13* Consolidated adding / removing ClientManager IClientAPIs to two places in ↵John Hurliman1-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
2009-10-13* Fixed a bug where clients were being added to ClientManager twiceJohn Hurliman1-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
2009-10-13* Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman1-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)
2009-10-13* Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman1-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
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-2/+0
2008-11-18* Added and removed debug information relating to client connectionsAdam Frisby1-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.
2008-11-08* Added IClientIM to IClientCore interfacesAdam Frisby1-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.*
2008-10-30test: Extend malformed packet test to actually check that a valid packet can ↵Justin Clarke Casey1-0/+2
get through after the malformed ones have been sent
2008-10-15* refactor: move viewer effect packet into LLClientViewJustin Clarke Casey1-8/+1
2008-10-15* Create a new ViewerEffectPacket for each viewer rather than reusing the ↵Justin Clarke Casey1-4/+6
packet structure * This would have been a source of out_of_order messages for different sequences, which still appear to be happening
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-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.
2008-08-08De-coupling the IClientAPI interface and ClientManager class from theMike Mazur1-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.
2008-06-27dr scofield's warning safari:Dr Scofield1-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
2008-06-04Formatting cleanup, minor refactoring, svn properties.Jeff Ames1-0/+1
2008-05-16Formatting cleanup.Jeff Ames1-1/+1
2008-05-14* Added 3 warnings in response to the warnings. Adam, read the warnings.Teravus Ovares1-1/+1
2008-05-10* Experiment in Zerocoding.Teravus Ovares1-0/+1
2008-05-08* Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg.Adam Frisby1-2/+1
2008-05-08* Attempted Fix for 1191 - Crash on ViewerEffectHandler. We are missing ↵Adam Frisby1-0/+2
typedata data however it seems.
2008-05-08* You can haz more spring cleaning.Adam Frisby1-2/+1
* Eventually this codebase will be clean. >_>
2008-05-07* Removes references to libsecondlife.Packets from IClientAPI. BAD ↵Adam Frisby1-4/+15
PROGRAMMERS. NAUGHTY. * Thanks to Andrew (DeepThink) for working on this one.
2008-04-29* Spring cleaning.Adam Frisby1-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.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-3/+5
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-04Cleaned up a couple compiler warnings.Jeff Ames1-1/+0
2008-03-04Fixed a region split synchronization bugJohan Berntsson1-0/+11
2008-03-04Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson1-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.
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-18Committing ahzz's patch #619 - Description:Teravus Ovares1-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
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-2/+2
2008-02-08Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey1-0/+3
light verbosity to this end
2008-02-07* This update contains a bucket-full of network optimizations.Teravus Ovares1-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!)
2008-02-06* Chasing down memory leak where memory used by a client is not returned on ↵Justin Clarke Casey1-1/+1
client logout * This code may or may not be on the right track, but I want to save my work so far.
2008-02-05Converted logging to use log4net.Jeff Ames1-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.
2008-01-04* possibly the least significant commit so far into 2008lbsa711-1/+1
2008-01-03I have fixed the ZeroDecodeCommand bug, and restored my packet recycling ↵Johan Berntsson1-1/+2
code. Let me know by IRC if there are other problems
2007-12-30* This update rolls back the packetpool and LibSL changes. Please retest ↵Teravus Ovares1-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
2007-12-28Patch from Johan: LibSL updated to the latest revision (1568) and all ↵Adam Johnson1-13/+13
packets are now recycled to improve performance and memory usage.
2007-12-27* Optimized usingslbsa711-10/+11
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-21* Remapped the Connection shutdown path.Teravus Ovares1-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
2007-12-17* Turned all instances of ForEach loops in ClientManager into Local Arrays. Teravus Ovares1-15/+60
* Added Locking while the Copy is taking place. * Added an error message to describe what's actually happening.
2007-11-18* Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares1-1/+1
This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-10-31* Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa711-0/+0
2007-10-30* Optimized usingslbsa711-12/+10
* Shortened type references * Removed redundant 'this' qualifier