comparison doc/PROTOCOL @ 141:f90b022235fe

[gaim-migrate @ 151] Updates to the FAQ (there's been a few changes since 0.9.5), and found a new (and presumably the last, since AOL stopped publishing it) copy of the protocol. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 19 Apr 2000 22:36:38 +0000
parents 2846a03bda67
children 01be71085964
comparison
equal deleted inserted replaced
140:436bead8f65d 141:f90b022235fe
17 # Note from Jim Duchek, gaim maintainer -- this may not be the latest 17 # Note from Jim Duchek, gaim maintainer -- this may not be the latest
18 # version of this document, I provide it as a service. Download a copy 18 # version of this document, I provide it as a service. Download a copy
19 # of TiK (http://www.aim.aol.com/tik/) for the latest version of this 19 # of TiK (http://www.aim.aol.com/tik/) for the latest version of this
20 # doc. 20 # doc.
21 21
22 # Note from Eric Warmenhoven, random guy -- this appears to be the last
23 # published version of the protocol, and AOL has stopped hosting the TiK
24 # program. This was taken from the last version of TiK I could find, version
25 # 0.75.
26
22 Version: TOC1.0 27 Version: TOC1.0
23 28
24 This document describes the protocol between TOC and TOC clients. 29 This document describes the protocol between TOC and TOC clients.
25 The protocol is built on TCP. Framing is done by SFLAP, 30 The protocol is built on TCP. Framing is done by SFLAP,
26 described at the bottom of this document. Inside each 31 described at the bottom of this document. Inside each
157 mode first. With no arguments and in deny mode 162 mode first. With no arguments and in deny mode
158 this will switch you to permit none. If already 163 this will switch you to permit none. If already
159 in permit mode, no arguments does nothing 164 in permit mode, no arguments does nothing
160 and your permit list remains the same. 165 and your permit list remains the same.
161 166
162 toc_add_deny [ <User 1> [<User 2> [... ]]] 167 toc_add_deny [ <User 1> [<User 2> [...]]]
163 ADD the following people to your deny mode. If 168 ADD the following people to your deny mode. If
164 you are in permit mode it will switch you to 169 you are in permit mode it will switch you to
165 deny mode first. With no arguments and in permit 170 deny mode first. With no arguments and in permit
166 mode, this will switch you to deny none. If 171 mode, this will switch you to deny none. If
167 already in deny mode, no arguments does nothing 172 already in deny mode, no arguments does nothing
249 Set idle information. If <idle secs> is 0 then the user isn't idle at all. 254 Set idle information. If <idle secs> is 0 then the user isn't idle at all.
250 If <idle secs> is greater then 0 then the user has already been idle 255 If <idle secs> is greater then 0 then the user has already been idle
251 for <idle secs> number of seconds. The server will automatically 256 for <idle secs> number of seconds. The server will automatically
252 keep incrementing this number, so do not repeatedly call with new 257 keep incrementing this number, so do not repeatedly call with new
253 idle times. 258 idle times.
259
260 toc_set_caps [ <Capability 1> [<Capability 2> [...]]]
261 Set my capabilities. All capabilities that we support need to
262 be sent at the same time. Capabilities are represented by
263 UUIDs.
264
265 toc_rvous_propose - Not Implemented Yet
266
267 toc_rvous_accept <nick> <cookie> <service> <tlvlist>
268 Accept a rendezvous proposal from the user <nick>.
269 <cookie> is the cookie from the RVOUS_PROPOSE
270 message. <service> is the UUID the proposal was
271 for. <tlvlist> contains a list of tlv tags followed by
272 base64 encoded values.
273
274 toc_rvous_cancel <nick> <cookie> <service> <tlvlist>
275 Cancel a rendezvous proposal from the user <nick>.
276 <cookie> is the cookie from the RVOUS_PROPOSE
277 message. <service> is the UUID the proposal was
278 for. <tlvlist> contains a list of tlv tags followed by
279 base64 encoded values.
280
281 toc_format_nickname <new_format>
282 Reformat a user's nickname. An ADMIN_NICK_STATUS or ERROR message will
283 be sent back to the client.
284
285 toc_change_passwd <existing_passwd new_passwd>
286 Change a user's password. An ADMIN_PASSWD_STATUS or ERROR message will
287 be sent back to the client.
254 288
255 289
256 TOC -> Client 290 TOC -> Client
257 ============== 291 ==============
258 All user names from TOC to client are NOT normalized, and are 292 All user names from TOC to client are NOT normalized, and are
304 * General Errors * 338 * General Errors *
305 901 - $1 not currently available 339 901 - $1 not currently available
306 902 - Warning of $1 not currently available 340 902 - Warning of $1 not currently available
307 903 - A message has been dropped, you are exceeding 341 903 - A message has been dropped, you are exceeding
308 the server speed limit 342 the server speed limit
343
344 * Admin Errors *
345 911 - Error validating input
346 912 - Invalid account
347 913 - Error encountered while processing request
348 914 - Service unavailable
349
309 * Chat Errors * 350 * Chat Errors *
310 950 - Chat in $1 is unavailable. 351 950 - Chat in $1 is unavailable.
311 352
312 * IM & Info Errors * 353 * IM & Info Errors *
313 960 - You are sending message too fast to $1 354 960 - You are sending message too fast to $1
359 400
360 GOTO_URL:<Window Name>:<Url> 401 GOTO_URL:<Window Name>:<Url>
361 Goto a URL. Window Name is the suggested internal name of the window 402 Goto a URL. Window Name is the suggested internal name of the window
362 to use. (Java supports this.) 403 to use. (Java supports this.)
363 404
364 DIR_STATUS:<Return Code> 405 DIR_STATUS:<Return Code>:<Optional args>
406 <Return Code> is always 0 for success status.
407
408 ADMIN_NICK_STATUS:<Return Code>:<Optional args>
409 <Return Code> is always 0 for success status.
410
411 ADMIN_PASSWD_STATUS:<Return Code>:<Optional args>
412 <Return Code> is always 0 for success status.
365 413
366 414
367 PAUSE 415 PAUSE
368 Tells TIC to pause so we can do migration 416 Tells TIC to pause so we can do migration
417
418 RVOUS_PROPOSE:<user>:<uuid>:<cookie>:<seq>:<rip>:<pip>:<vip>:<port>
419 [:tlv tag1:tlv value1[:tlv tag2:tlv value2[:...]]]
420 Another user has proposed that we rendezvous with them to
421 perform the service specified by <uuid>. They want us
422 to connect to them, we have their rendezvous ip, their
423 proposer_ip, and their verified_ip. The tlv values are
424 base64 encoded.
369 425
370 Typical Signon Process 426 Typical Signon Process
371 ====================== 427 ======================
372 Except for the section marked optional this is an sequential 428 Except for the section marked optional this is an sequential
373 process. Each line MUST occur before the following line. 429 process. Each line MUST occur before the following line.