Difference between revisions of "AgentThrottle"

From Second Life Wiki
Jump to navigation Jump to search
Line 20: Line 20:
==Usage and Notes==
==Usage and Notes==
[[Category:Messages]]
[[Category:Messages]]
'''GenCounter''' can be 0
The '''throttles''' variable appears to be structured as follows, each value a little endian 32 bit float:


The throttles variable appears to be structured as follows, each value a little endian 32 bit float:
<pre width=80>
<pre width=80>
Resend  - Maxmimum bytes per second for resending unacknowledged packets
Resend  - Maxmimum bytes per second for resending unacknowledged packets
Line 31: Line 33:
Asset  - Maximum bytes per second for downloaded assets
Asset  - Maximum bytes per second for downloaded assets
</pre>
</pre>
Note, that even though it appears to have a set number of parameters (and a set size), it IS a "variable".

Revision as of 12:12, 8 February 2008

Message Layout

{
	AgentThrottle Low NotTrusted Zerocoded
	{
		AgentData			Single
		{	AgentID			LLUUID		}
		{	SessionID		LLUUID		}
		{	CircuitCode		U32		}
	}
	{
		Throttle			Single
		{	GenCounter		U32		}
		{	Throttles		Variable 1	}
	}
}

Usage and Notes

GenCounter can be 0

The throttles variable appears to be structured as follows, each value a little endian 32 bit float:

Resend  - Maxmimum bytes per second for resending unacknowledged packets
Land    - Maximum bytes per second for LayerData terrain
Wind    - Maximum bytes per second for LayerData wind data
Cloud   - Maximum bytes per second for LayerData clouds
Task    - Unknown, includes object data
Texture - Maximum bytes per second for textures
Asset   - Maximum bytes per second for downloaded assets

Note, that even though it appears to have a set number of parameters (and a set size), it IS a "variable".