Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API v24/Packets/TxQueue
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{SimTX API v24 navigation}} {{SimTX packet v24 | name = TxQueue | id = 4 | hex = 0x04 | direction = s2c | session = [[SimTX API v24/Transmitter session|Transmitter]] | size = 8 bytes | permission = None | answers = [[SimTX API v24/Packets/TransmitterSessionRequest|TransmitterSessionRequest]] | group = transmitter }} '''TxQueue''' tells a transmitter client that every transmitter slot on the server is taken and that its request is waiting in line. The server sends it when the request enters the queue, and again whenever the position changes, at most about once a second, until it sends [[SimTX API v24/Packets/TxAccept|TxAccept]]. == Layout == {| class="wikitable" ! Field !! Type !! Description |- | <code>packetId</code> || <code>u8</code> || Always <code>4</code>. |- | <code>ahead</code> || <code>i32</code> || Number of requests ahead of this one. 0 means next in line. |- | <code>total</code> || <code>i32</code> || Total number of requests in the queue. |} == Usage == * Keep the connection open and keep reading. Do not send samples until TxAccept. * Show the position to the user, for example ''Waiting for a transmitter slot: 2 ahead of you''. * Accounts with the <code>session.queue_skip</code> permission are never queued. When the server is full they receive [[SimTX API v24/Packets/TxReject|TxReject]] with ''Server transmitter capacity reached'' instead. * Closing the connection leaves the queue. {{SimTX API v24 navbox}} [[Category:SimTX API v24]]
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:SimTX API v24 navbox
(
edit
)
Template:SimTX API v24 navigation
(
edit
)
Template:SimTX packet v24
(
edit
)