OpenSim Architecture

From OpenSimulator

Revision as of 06:49, 5 September 2007 by MW (Talk | contribs)

Jump to: navigation, search


The Core of OpenSim is the Region.Environment project/dll. For each Region in a OpenSim process, a instance of Scene is created. So currently Scene is the main management class for the regions. When a client connects to a region, a call is made to Scene.AddNewClient(IClientAPI client, bool child).

IClientAPI, the interface that we use for Region <-> Client communications, contains a number of events and methods. When Scene.AddNewClient() is called, various classes will subscribe to the events of the client object, so that they are notified of incoming packets from that client/viewer. In the other direction, the methods of IClientAPI are used to send packets back to the client/viewer.

[Please note that most of the more general region management functions will be moving to the RegionManager class soon. Leaving just the scene (3d world space) management to the Scene class.]

Opensim Region class.png

OpenSim_Expanded_Region_Diagram (Expanded Class diagram)

Personal tools
General
About This Wiki