|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| {{Protocols/OSCAR}}
| | [https://gitlab.com/hollerith/cool/-/blob/main/docs/protocols/SNAC/OSERVICE/OSERVICE__IDLE_NOTIFICATION.md moved] |
| {{Protocols/OSCAR/SNAC/Stats
| |
| |origin={{Protocols/OSCAR/SNAC/OSERVICE__IDLE_NOTIFICATION/Origin}}
| |
| |name=OSERVICE__IDLE_NOTIFICATION
| |
| |id=0x0001, 0x0011
| |
| |service={{Protocols/OSCAR/Foodgroups/OSERVICE/Service}}
| |
| |status={{Protocols/OSCAR/Foodgroups/OSERVICE/Status}}
| |
| |version={{Protocols/OSCAR/Foodgroups/OSERVICE/Version}} }}
| |
| | |
| {{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.
| |
| | |
| 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 ===
| |
| {{Protocols/OSCAR/SNAC/Header
| |
| |foodgroup=00 01
| |
| |subgroup=00 11
| |
| |flags=00 00
| |
| |reqid=00 00 00 00}}
| |
| | |
| === SNAC Data ===
| |
| {| class="wikitable"
| |
| ! Name
| |
| ! Type
| |
| ! Notes
| |
| |-
| |
| | idleTime
| |
| | uint32 (dword)
| |
| | Client's idle time when changing states
| |
| |}
| |
| | |
| === OSERVICE SNACs ===
| |
| {{Protocols/OSCAR/Foodgroups/OSERVICE/SNACs/Simple}}
| |
| | |
| [[Category:Stub]]
| |
| [[Category:AOL]]
| |
| [[Category:AIM]]
| |
| [[Category:Protocols/OSCAR]]
| |
| [[Category:Protocols/OSCAR/SNACs]]
| |
| [[Category:Work_In_Progress]]
| |
| [[Category:Has_Notes]]
| |