OpenSim Architecture
From OpenSimulator
Line 1: | Line 1: | ||
*[[OpenSim.Region.Environment]] | *[[OpenSim.Region.Environment]] | ||
+ | |||
+ | <br /> | ||
+ | |||
+ | The Core of OpenSim is the Region.Environment project/dll. Current the Scene class is the main management class. 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 to Client communications, has a number of events and methods in it. When a new client connects to a Region, various classes will subscribe to the events, so that they are notified of incoming packets from that client/viewer. 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.] | ||
[[Image:Opensim_Region_class.png]] | [[Image:Opensim_Region_class.png]] | ||
[[OpenSim_Expanded_Region_Diagram]] (Expanded Class diagram) | [[OpenSim_Expanded_Region_Diagram]] (Expanded Class diagram) |
Revision as of 05:42, 5 September 2007
The Core of OpenSim is the Region.Environment project/dll. Current the Scene class is the main management class. 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 to Client communications, has a number of events and methods in it. When a new client connects to a Region, various classes will subscribe to the events, so that they are notified of incoming packets from that client/viewer. 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_Expanded_Region_Diagram (Expanded Class diagram)