OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
/// <summary>
/// Fires the OnQueueEmpty callback and sets the minimum time that it
/// can be called again
/// </summary>
/// <param name="o">Throttle categories to fire the callback for,
/// stored as an object to match the WaitCallback delegate
/// signature</param>
Fires the OnQueueEmpty callback and sets the minimum time that it
can be called again
Fires the OnQueueEmpty callback and sets the minimum time that it can be called again
public void FireQueueEmpty(object o)
        {
                ThrottleOutPacketTypeFlags categories = (ThrottleOutPacketTypeFlags)o;
                QueueEmpty callback = OnQueueEmpty;                      
                if (callback != null)
                {
                        try { callback(categories); }
                        catch (Exception e) { m_log.Error("[LLUDPCLIENT]: OnQueueEmpty(" + categories + ") threw an exception: " + e.Message, e); }
                }
            m_isQueueEmptyRunning = false;
        }
public void FireQueueEmpty ( object o ) { ThrottleOutPacketTypeFlags categories = ( ThrottleOutPacketTypeFlags ) o ; QueueEmpty callback = OnQueueEmpty ; if ( callback != null ) { try { callback ( categories ) ; } catch ( Exception e ) { m_log . Error ( " " + categories + " " + e . Message , e ) ; } } m_isQueueEmptyRunning = false ; }
Fires the OnQueueEmpty callback and sets the minimum time that it
can be called again
Fires the OnQueueEmpty callback and sets the minimum time that it can be called again
//            m_log.DebugFormat("[LLUDPCLIENT]: FireQueueEmpty for {0} in {1}", AgentID, m_udpServer.Scene.Name); //            int start = Environment.TickCount & Int32.MaxValue; //            const int MIN_CALLBACK_MS = 30; //            if (m_udpServer.IsRunningOutbound) //            {         //                    if (m_udpServer.IsRunningOutbound) //                    {                 //                    } //            } //            m_nextOnQueueEmpty = start + MIN_CALLBACK_MS; //            if (m_nextOnQueueEmpty == 0) //                m_nextOnQueueEmpty = 1; //            }
o
object
Throttle categories to fire the callback for,
stored as an object to match the WaitCallback delegate
signature
Throttle categories to fire the callback for stored as an object to match the WaitCallback delegate signature