Protocols/OSCAR/SNAC/OSERVICE IDLE NOTIFICATION: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
{{Protocols/OSCAR/SNAC/OSERVICE__IDLE_NOTIFICATION/Description}} | {{Protocols/OSCAR/SNAC/OSERVICE__IDLE_NOTIFICATION/Description}} | ||
Notes from another: | |||
<!-- | |||
* A SNAC command used to set how long the user has been idle. This command | |||
* should only be sent once when the user becomes idle; the server will handle | |||
* increasing the amount of idle time as time progresses. When the user becomes | |||
* unidle, the command should be sent with an idle time value of zero | |||
* (<code>SetIdleCmd.IDLETIME_NOT_IDLE</code>). | |||
* <br><br> | |||
* The idle time is sent in this command in terms of the number of seconds the | |||
* user has been idle, but when reported to buddies in a {@link snaccmd.FullUserInfo}, it is reported in minutes. | |||
* | |||
* @snac.src client | |||
--> | |||
A non-zero idleTime indicates that the user is idle and specifies the number of seconds since the user's last keyboard or mouse input. A zero idleTime indicates that the user is active. If the client is not capable of detecting the user's idle state it should not send this SNAC. | A non-zero idleTime indicates that the user is idle and specifies the number of seconds since the user's last keyboard or mouse input. A zero idleTime indicates that the user is active. If the client is not capable of detecting the user's idle state it should not send this SNAC. | ||
Line 41: | Line 55: | ||
[[Category:Protocols/OSCAR/SNACs]] | [[Category:Protocols/OSCAR/SNACs]] | ||
[[Category:Work_In_Progress]] | [[Category:Work_In_Progress]] | ||
[[Category:Has_Notes]] |
Revision as of 19:19, 25 May 2020
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, 0x0011 | Client | OSERVICE__IDLE_NOTIFICATION | Unspecified | All | Active | 4.0 |
This SNAC is sent by the client to inform the server of the user's idle state.
Notes from another:
A non-zero idleTime indicates that the user is idle and specifies the number of seconds since the user's last keyboard or mouse input. A zero idleTime indicates that the user is active. If the client is not capable of detecting the user's idle state it should not send this SNAC.
In order to prevent excessive load on the server, the client should not send this SNAC with a non-zero idleTime more often that once every 10 minutes. Once the server receives this SNAC it will automatically increment it as time goes by.
SNAC Header
Foodgroup | uint16 (word) | 00 01 |
Subgroup | uint16 (word) | 00 11 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Name | Type | Notes |
---|---|---|
idleTime | uint32 (dword) | Client's idle time when changing states |
OSERVICE SNACs
|