* Part two of the major object restructuring

* Fixed a bug with the LogoutTimer not dying
* Major surgery on how objects are decoded off the wire, handles more cases now
* Added support for lots more object and primitive parameters
* Added several new Helpers functions for converting bytes to values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@923 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-01-30 12:47:47 +00:00
parent 75b50e87b7
commit 2a29dc70ee
10 changed files with 684 additions and 419 deletions

View File

@@ -1565,6 +1565,7 @@ namespace libsecondlife
CurrentSim.SendPacket(logout, true);
LogoutTimer = new System.Timers.Timer(Client.Settings.LOGOUT_TIMEOUT);
LogoutTimer.AutoReset = false;
LogoutTimer.Elapsed += new ElapsedEventHandler(LogoutTimer_Elapsed);
LogoutTimer.Start();
}
@@ -1731,6 +1732,7 @@ namespace libsecondlife
/// </summary>
private void LogoutTimer_Elapsed(object sender, ElapsedEventArgs ev)
{
LogoutTimer.Stop();
Client.Log("Logout due to timeout on server acknowledgement", Helpers.LogLevel.Debug);
ForceLogout();
}