OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
/// <summary>
/// Gets information about this client connection
/// </summary>
/// <returns>Information about the client connection</returns>
Gets information about this client connection
Gets information about this client connection
public ClientInfo GetClientInfo()
        {
            m_info.resendThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Resend].DripRate;
            m_info.landThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Land].DripRate;
            m_info.windThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Wind].DripRate;
            m_info.cloudThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Cloud].DripRate;
            m_info.taskThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Task].DripRate;
            m_info.assetThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Asset].DripRate;
            m_info.textureThrottle = (int)m_throttleCategories[(int)ThrottleOutPacketType.Texture].DripRate;
            m_info.totalThrottle = (int)m_throttleClient.DripRate;
            m_info.targetThrottle = (int)m_throttleClient.TargetDripRate;
            m_info.maxThrottle = (int)m_throttleClient.MaxDripRate;
            return m_info;
        }
public ClientInfo GetClientInfo ( ) { m_info . resendThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Resend ] . DripRate ; m_info . landThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Land ] . DripRate ; m_info . windThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Wind ] . DripRate ; m_info . cloudThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Cloud ] . DripRate ; m_info . taskThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Task ] . DripRate ; m_info . assetThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Asset ] . DripRate ; m_info . textureThrottle = ( int ) m_throttleCategories [ ( int ) ThrottleOutPacketType . Texture ] . DripRate ; m_info . totalThrottle = ( int ) m_throttleClient . DripRate ; m_info . targetThrottle = ( int ) m_throttleClient . TargetDripRate ; m_info . maxThrottle = ( int ) m_throttleClient . MaxDripRate ; return m_info ; }
Gets information about this client connection
Gets information about this client connection
// TODO: This data structure is wrong in so many ways. Locking and copying the entire lists // of pending and needed ACKs for every client every time some method wants information about // this connection is a recipe for poor performance
Information about the client connection
Information about the client connection