Protocols/OSCAR/SNAC/OSERVICE RATE PARAMS REPLY: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Protocols/OSCAR}} | {{Protocols/OSCAR}} | ||
{{Protocols/OSCAR/SNAC/Stats | {{Protocols/OSCAR/SNAC/Stats | ||
|id=0x0001, 0x0007 | |||
|origin={{Protocols/OSCAR/SNAC/OSERVICE__RATE_PARAMS_REPLY/Origin}} | |origin={{Protocols/OSCAR/SNAC/OSERVICE__RATE_PARAMS_REPLY/Origin}} | ||
|name=OSERVICE__RATE_PARAMS_REPLY | |name=OSERVICE__RATE_PARAMS_REPLY | ||
| | |foodgroup=OSERVICE | ||
|service={{Protocols/OSCAR/Foodgroups/OSERVICE/Service}} | |service={{Protocols/OSCAR/Foodgroups/OSERVICE/Service}} | ||
|status={{Protocols/OSCAR/Foodgroups/OSERVICE/Status}} | |status={{Protocols/OSCAR/Foodgroups/OSERVICE/Status}} | ||
Line 16: | Line 17: | ||
|foodgroup=00 01 | |foodgroup=00 01 | ||
|subgroup=00 07 | |subgroup=00 07 | ||
|flags= | |flags=00 00}} | ||
=== SNAC Data === | === SNAC Data === | ||
Line 39: | Line 39: | ||
| Which SNACs are in what rate class | | Which SNACs are in what rate class | ||
|} | |} | ||
=== From Aleksandr Shutko: SNAC(01,07) OSERVICE__RATE_PARAMS_REPLY === | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td> | |||
<br> | |||
This snac contain server information about its snac-rate limitations. | |||
You can read rate limits detailed information [[Protocols/OSCAR/Rate_Limits|here]]. | |||
See also [[Protocols/OSCAR/SNAC_01_0a|SNAC(01,0A)]] for more info.<br><br> | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9 > | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=169> 00 01</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 07</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC subtype</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>SNAC request-id</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>Number of rate classes</td> | |||
</tr> | |||
<tr> | |||
<td colspan=5 height=8></td> | |||
</tr> | |||
</table> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#fafafa > | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>Rate class ID #1</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#fafafa> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=55%>Window size</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Clear level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Alert level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Limit level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Disconnect level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Current level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Max level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Last time; <span >not present in protocol version 2</span></td> | |||
</tr> | |||
<tr> | |||
<td> xx</td> | |||
<td> </td> | |||
<td>byte</td> | |||
<td> </td> | |||
<td>Current state; <span >not present in protocol version 2</span></td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
<table width=610 height=25 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td valign=top width=147> ....</td> | |||
<td valign=top width=5> </td> | |||
<td valign=top >....</td> | |||
<td valign=top width=5> </td> | |||
<td valign=top width=55%>....</td> | |||
</tr> | |||
</table> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#fafafa> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>Rate class ID #N</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#fafafa> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=55%>Window size</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Clear level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Alert level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Limit level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Disconnect level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Current level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Max level</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Last time; <span >not present in protocol version 2</span></td> | |||
</tr> | |||
<tr> | |||
<td> xx</td> | |||
<td> </td> | |||
<td>byte</td> | |||
<td> </td> | |||
<td>Current state; <span >not present in protocol version 2</span></td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td height=30 valign=middle><hr> </td> | |||
</tr> | |||
</table> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#fafafa > | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>Rate group ID #1</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>Number of pairs in group</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#fafafa> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=55%>Family/Subtype pair #1</td> | |||
</tr> | |||
<tr> | |||
<td> ....</td> | |||
<td> </td> | |||
<td>....</td> | |||
<td> </td> | |||
<td>....</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Family/Subtype pair #n</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
<table width=610 height=25 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td valign=top width=147> ....</td> | |||
<td valign=top width=5> </td> | |||
<td valign=top >....</td> | |||
<td valign=top width=5> </td> | |||
<td valign=top width=55%>....</td> | |||
</tr> | |||
</table> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#fafafa > | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>Rate group ID #N</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>Number of pairs in group</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#fafafa> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=55%>Family/Subtype pair #1</td> | |||
</tr> | |||
<tr> | |||
<td> ....</td> | |||
<td> </td> | |||
<td>....</td> | |||
<td> </td> | |||
<td>....</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>Family/Subtype pair #n</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td><td width=5></td> | |||
</tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br>Example SNAC dump with flap header: | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr> | |||
<td bgcolor=#E9E9E9> | |||
<font size=3><pre style="font-size: 13px"> | |||
2A 02 38 BE 03 3B 00 01 00 07 00 00 00 00 00 06 *.8..;.......... | |||
00 05 00 01 00 00 00 50 00 00 09 C4 00 00 07 D0 .......P........ | |||
00 00 05 DC 00 00 03 20 00 00 0D 69 00 00 17 70 ....... ...i...p | |||
00 00 00 00 00 00 02 00 00 00 50 00 00 0B B8 00 ..........P..... | |||
00 07 D0 00 00 05 DC 00 00 03 E8 00 00 17 70 00 ..............p. | |||
00 17 70 00 00 F9 0B 00 00 03 00 00 00 14 00 00 ..p............. | |||
13 EC 00 00 13 88 00 00 0F A0 00 00 0B B8 00 00 ................ | |||
11 47 00 00 17 70 00 00 5C D8 00 00 04 00 00 00 .G...p..\....... | |||
14 00 00 15 7C 00 00 14 B4 00 00 10 68 00 00 0B ............h... | |||
B8 00 00 17 70 00 00 1F 40 00 00 F9 0B 00 00 05 ....p...@....... | |||
00 00 00 0A 00 00 15 7C 00 00 14 B4 00 00 10 68 ...............h | |||
00 00 0B B8 00 00 17 70 00 00 1F 40 00 00 F9 0B .......p...@.... | |||
00 00 01 00 91 00 01 00 01 00 01 00 02 00 01 00 ................ | |||
03 00 01 00 04 00 01 00 05 00 01 00 06 00 01 00 ................ | |||
07 00 01 00 08 00 01 00 09 00 01 00 0A 00 01 00 ................ | |||
0B 00 01 00 0C 00 01 00 0D 00 01 00 0E 00 01 00 ................ | |||
0F 00 01 00 10 00 01 00 11 00 01 00 12 00 01 00 ................ | |||
13 00 01 00 14 00 01 00 15 00 01 00 16 00 01 00 ................ | |||
17 00 01 00 18 00 01 00 19 00 01 00 1A 00 01 00 ................ | |||
1B 00 01 00 1C 00 01 00 1D 00 01 00 1E 00 01 00 ................ | |||
1F 00 01 00 20 00 01 00 21 00 02 00 01 00 02 00 .... ...!....... | |||
02 00 02 00 03 00 02 00 04 00 02 00 06 00 02 00 ................ | |||
07 00 02 00 08 00 02 00 0A 00 02 00 0C 00 02 00 ................ | |||
0D 00 02 00 0E 00 02 00 0F 00 02 00 10 00 02 00 ................ | |||
11 00 02 00 12 00 02 00 13 00 02 00 14 00 02 00 ................ | |||
15 00 03 00 01 00 03 00 02 00 03 00 03 00 03 00 ................ | |||
06 00 03 00 07 00 03 00 08 00 03 00 09 00 03 00 ................ | |||
0A 00 03 00 0B 00 03 00 0C 00 04 00 01 00 04 00 ................ | |||
02 00 04 00 03 00 04 00 04 00 04 00 05 00 04 00 ................ | |||
07 00 04 00 08 00 04 00 09 00 04 00 0A 00 04 00 ................ | |||
0B 00 04 00 0C 00 04 00 0D 00 04 00 0E 00 04 00 ................ | |||
0F 00 04 00 10 00 04 00 11 00 04 00 12 00 04 00 ................ | |||
13 00 04 00 14 00 06 00 01 00 06 00 02 00 06 00 ................ | |||
03 00 08 00 01 00 08 00 02 00 09 00 01 00 09 00 ................ | |||
02 00 09 00 03 00 09 00 04 00 09 00 09 00 09 00 ................ | |||
0A 00 09 00 0B 00 0A 00 01 00 0A 00 02 00 0A 00 ................ | |||
03 00 0B 00 01 00 0B 00 02 00 0B 00 03 00 0B 00 ................ | |||
04 00 0C 00 01 00 0C 00 02 00 0C 00 03 00 13 00 ................ | |||
01 00 13 00 02 00 13 00 03 00 13 00 04 00 13 00 ................ | |||
05 00 13 00 06 00 13 00 07 00 13 00 08 00 13 00 ................ | |||
09 00 13 00 0A 00 13 00 0B 00 13 00 0C 00 13 00 ................ | |||
0D 00 13 00 0E 00 13 00 0F 00 13 00 10 00 13 00 ................ | |||
11 00 13 00 12 00 13 00 13 00 13 00 14 00 13 00 ................ | |||
15 00 13 00 16 00 13 00 17 00 13 00 18 00 13 00 ................ | |||
19 00 13 00 1A 00 13 00 1B 00 13 00 1C 00 13 00 ................ | |||
1D 00 13 00 1E 00 13 00 1F 00 13 00 20 00 13 00 ............ ... | |||
21 00 13 00 22 00 13 00 23 00 13 00 24 00 13 00 !..."...#...$... | |||
25 00 13 00 26 00 13 00 27 00 13 00 28 00 15 00 %...&...'...(... | |||
01 00 15 00 02 00 15 00 03 00 02 00 06 00 03 00 ................ | |||
04 00 03 00 05 00 09 00 05 00 09 00 06 00 09 00 ................ | |||
07 00 09 00 08 00 03 00 02 00 02 00 05 00 04 00 ................ | |||
06 00 04 00 02 00 02 00 09 00 02 00 0B 00 05 00 ................ | |||
00 . | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
=== OSERVICE SNACs === | === OSERVICE SNACs === | ||
{{Protocols/OSCAR/Foodgroups/OSERVICE/SNACs/Simple}} | {{Protocols/OSCAR/Foodgroups/OSERVICE/SNACs/Simple}} | ||
[[Category:With_Contrib]] | |||
[[Category:Stub]] | [[Category:Stub]] | ||
[[Category:AOL]] | [[Category:AOL]] |
Latest revision as of 03:06, 13 February 2021
OSCAR Protocol |
Introduction • Terms • Clients |
Basic |
Datatypes • FLAP • SNAC • TLV |
UUIDs • Errors • Tool IDs |
Host Interaction |
Rate Limits • Migration • Messages |
Other Services |
ADMIN • ADVERT • ALERT |
BART • BOS • BUCP • CHAT |
CHAT_NAV |
Tutorials |
Sign On • BART • Rendezvous |
ICBM • Locate • Buddies |
Foodgroups |
OSERVICE (0x0001) |
LOCATE (0x0002) |
BUDDY (0x0003) |
ICBM (0x0004) |
ADVERT (0x0005) |
INVITE (0x0006) |
ADMIN (0x0007) |
POPUP (0x0008) |
PD (0x0009) |
USER_LOOKUP (0x000A) |
STATS (0x000B) |
TRANSLATE (0x000C) |
CHAT_NAV (0x000D) |
CHAT (0x000E) |
ODIR (0x000F) |
BART (0x0010) |
FEEDBAG (0x0013) |
ICQ (0x0015) |
BUCP (0x0017) |
ALERT (0x0018) |
PLUGIN (0x0022) |
UNNAMED_FG_24 (0x0024) |
MDIR (0x0025) |
ARS (0x044A) |
ID | Origin | Name | Foodgroup | Service | Status | Version |
---|---|---|---|---|---|---|
0x0001, 0x0007 | Host | OSERVICE__RATE_PARAMS_REPLY | OSERVICE | All | Active | 4.0 |
Contains response to the OSERVICE__RATE_PARAMS_QUERY.
See more information about rate limits.
SNAC Header
Foodgroup | uint16 (word) | 00 01 |
Subgroup | uint16 (word) | 00 07 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | xx xx xx xx |
SNAC Data
The first part of the SNAC contains the rate classes. The second part contains the list of members within each class.
Name | Type | Notes |
---|---|---|
numClasses | uint16 (word) | Number of different rate classes |
rateParameters | Array of Rate Parameters length numClasses | Controlling parameters |
rateMembers | Array of Rate Class Members length numClasses | Which SNACs are in what rate class |
From Aleksandr Shutko: SNAC(01,07) OSERVICE__RATE_PARAMS_REPLY
|
Example SNAC dump with flap header:
|
OSERVICE SNACs
|