I just committed this to svn:

Removed the Circuit class and replaced it with the Simulator class
* Region information is linked to simulators and track per sim
* Region information can be gleaned in callbacks now
* Parcel overlay handling is also done per sim
* Packets should be sent to the proper sim now
* Zerodecoding and appended ACK handling hopefully play nicely together
* Login timeout has been simplified, Simulator uses no timers
* Disconnect (from a sim) is currently broken at the NetworkManager level
* Periodic ACK sending and ACK appending is currently disabled

That means all the packet callback handlers that are of the form:
void PacketHandler(Packet packet, Circuit circuit);

now need to be:
void PacketHandler(Packet packet, Simulator simulator);

The simulator class gives you access to ip/port information, and a Region pointer that contains all the information about that region assuming a RegionHandshake packet has shown up.

After everyone's code is updated (the examples in libsecondlife-cs/examples have already been fixed) and I add one more feature- a disconnect event for server initiated disconnects- I think it will be time for a 0.0.5 release. Someone should start a Roadmap page on the wiki and detail out some possibilities for future direction.

John Hurliman

_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev

Reply via email to