Protocols/OSCAR/SNAC/OSERVICE SERVICE REQUEST: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
{{Protocols/OSCAR/SNAC/OSERVICE__SERVICE_REQUEST/Description}} | {{Protocols/OSCAR/SNAC/OSERVICE__SERVICE_REQUEST/Description}} | ||
=== Secondary Service Requests === | |||
The server will either reject the request via an error reply or accept it and reply with a [[Protocols/OSCAR/SNAC/OSERVICE_SERVICE_RESPONSE|OSERVICE_SERVICE_RESPONSE]]. Note that this is a request for ''new'' service; this is not like a [[Protocols/OSCAR/Migration|migration]] case where the current FLAP connection might be dropped. | The server will either reject the request via an error reply or accept it and reply with a [[Protocols/OSCAR/SNAC/OSERVICE_SERVICE_RESPONSE|OSERVICE_SERVICE_RESPONSE]]. Note that this is a request for ''new'' service; this is not like a [[Protocols/OSCAR/Migration|migration]] case where the current FLAP connection might be dropped. | ||
There are other backend servers that a client may need to connect to for more advanced commands. To connect to a secondary server, a client sends up a SERVICE REQUEST and receives a [[Protocols/OSCAR/SNAC/OSERVICE_SERVICE_RESPONSE|OSERVICE_SERVICE_RESPONSE]] back with the connection information. The secondary servers include: | There are other backend servers that a client may need to connect to for more advanced commands. To connect to a secondary server, a client sends up a SERVICE REQUEST and receives a [[Protocols/OSCAR/SNAC/OSERVICE_SERVICE_RESPONSE|OSERVICE_SERVICE_RESPONSE]] back with the connection information. The secondary servers include: | ||
{| class="wikitable" | |||
! Service | |||
! ID | |||
! Note | |||
|- | |||
| [[Protocols/OSCAR/Services/ADMIN|ADMIN]] | |||
| 0x0007 | |||
| Account administration service | |||
|- | |||
| [[Protocols/OSCAR/Services/ADVERT|ADVERT]] | |||
| 0x0005 | |||
| Advertising service | |||
|- | |||
| [[Protocols/OSCAR/Services/ALERT|ALERT]] | |||
| 0x0018 | |||
| For notices such as new mail | |||
|- | |||
| [[Protocols/OSCAR/Services/BART|BART]] | |||
| 0x0010 | |||
| For downloading Buddy Art | |||
|- | |||
| [[Protocols/OSCAR/Services/BUCP|BUCP]] | |||
| 0x0017 | |||
| For authorization, registration, and account deletion | |||
|- | |||
| [[Protocols/OSCAR/Services/CHAT_NAV|CHAT_NAV]] | |||
| 0x000D | |||
| Chat navigation service | |||
|- | |||
| [[Protocols/OSCAR/Services/CHAT|CHAT]] | |||
| 0x000E | |||
| Chat service | |||
|} | |||
=== SNAC Header === | === SNAC Header === | ||
Line 29: | Line 61: | ||
! Name | ! Name | ||
! Type | ! Type | ||
! | ! Note | ||
|- | |- | ||
| foodgroup | | foodgroup |
Revision as of 09:17, 24 March 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, 0x0004 | Client | OSERVICE__SERVICE_REQUEST | Unspecified | All | Active | 4.0 |
This SNAC requests that the specified service (foodgroup) be provided to it in a way further specified by qualifying parameters.
Secondary Service Requests
The server will either reject the request via an error reply or accept it and reply with a OSERVICE_SERVICE_RESPONSE. Note that this is a request for new service; this is not like a migration case where the current FLAP connection might be dropped.
There are other backend servers that a client may need to connect to for more advanced commands. To connect to a secondary server, a client sends up a SERVICE REQUEST and receives a OSERVICE_SERVICE_RESPONSE back with the connection information. The secondary servers include:
Service | ID | Note |
---|---|---|
ADMIN | 0x0007 | Account administration service |
ADVERT | 0x0005 | Advertising service |
ALERT | 0x0018 | For notices such as new mail |
BART | 0x0010 | For downloading Buddy Art |
BUCP | 0x0017 | For authorization, registration, and account deletion |
CHAT_NAV | 0x000D | Chat navigation service |
CHAT | 0x000E | Chat service |
SNAC Header
Foodgroup | uint16 (word) | 00 01 |
Subgroup | uint16 (word) | 00 04 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Name | Type | Note |
---|---|---|
foodgroup | uint16 (word) | Group being requested |
qualifyingParameters | Rest of SNAC array of TLV | [Class: OSERVICE__SERVICE_REQUEST_TAGS] Modifiers for the request, such as a TLS request |
TLV Class: OSERVICE__SERVICE_REQUEST_TAGS
These are the tags the client uses to control what type of service request it wants.
Name | Tag | Type | Notes |
---|---|---|---|
OSERVICE__TLV_TAGS_SSL_USE_SSL | 0x8C | empty | No value; if present use SSL |
OSERVICE SNACs
|