C# Object Manager Demo
Download ObjectManager.zip and uncompress it inside the demos\C# Projects\ folder.
Open ObjectManager.sln using Visual Studio.
Make sure the reference to the Neokernel.dll is correct (in case
you installed Neokernel in a different directory) under
"References", then press F6 to build the demo.
Double click on the file start_nk.bat to start Neokernel.
This demonstration illustrates the object storage services included
with the Neokernel. It will wake up and create some number of
props, storing them in a FileObjectManager.
The IObjectManager defines an interface which doesn't require
knowledge about the underlying storage mechanism.
The FileObjectManager implements this interface to store props
in a user-specified directory; this demonstration showcases
these capabilities. Props are loaded from the specified directory
on the hard-disk when the FileObjectManager is started, and when a
Prop is changed, it is written to the hard-disk.
Other Object Managers might hold information temporarily in memory,
while others are capable of managing data as records in an SQL database.
Object Managers typically register with the Service Manager when
started and set the value of their service_name prop to object_manager.
Updated: 7/12/10 7:44 PM