home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / protocol / appletal / 4272 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!apple!goofy!mumbo.apple.com!gallant.apple.com!news
  2. From: bell@apple.com (Mike Bell)
  3. Newsgroups: comp.protocols.appletalk
  4. Subject: Re: SPAttention Call
  5. Message-ID: <1992Dec21.231752.15536@gallant.apple.com>
  6. Date: 21 Dec 92 23:17:52 GMT
  7. References: <1992Dec21.033043.9080@sm.sony.co.jp>
  8. Sender: news@gallant.apple.com
  9. Reply-To: bell@apple.com (Mike Bell)
  10. Organization: Apple Computer, Inc.
  11. Lines: 79
  12.  
  13. In article <1992Dec21.033043.9080@sm.sony.co.jp>, hagiwara@sm.sony.co.jp 
  14. (Takashi Hagiwara) writes:
  15. > Path: gallant.apple.com!mumbo.apple.com!apple!agate!ames!sun-
  16. barr!sh.wide!wnoc-tyo-
  17. > news!scslwide!wsgw!smdnd!hagiwara
  18. > From: hagiwara@sm.sony.co.jp (Takashi Hagiwara)
  19. > Newsgroups: comp.protocols.appletalk
  20. > Subject: SPAttention Call
  21. > Message-ID: <1992Dec21.033043.9080@sm.sony.co.jp>
  22. > Date: 21 Dec 92 03:30:43 GMT
  23. > Sender: news@sm.sony.co.jp (Usenet News System)
  24. > Organization: Supermicro Systems Group, Sony Corporation, Tokyo, Japan
  25. > Lines: 8
  26. > Nntp-Posting-Host: chang1
  27. > Could anyone tell me how to get "Attention Code" used in SPAttention call ?
  28. > I would like to use this call for notifying some events to client.
  29. > I am looking for the definition of this code in "Inside AppleTalk second
  30. > edition", however, I cannot find out yet.
  31. > Takashi Hagiwara
  32. > Sony Corporation, Tokyo
  33.  
  34.  
  35. The SPAttention codes are documented in the AppleShare 3.0 developers kit, 
  36. available from Apda. 
  37.  
  38.  
  39. The attention code sent in an Attention packet looks like this
  40.  
  41.  
  42.  
  43. (4 bits)|(12 bits)
  44.   1234    XXXXXXXXXXXX
  45.  
  46.  
  47. 4-Bits (Attention code)
  48. ------
  49.  
  50. Bit
  51. ----
  52.  
  53. 1 - Shutdown
  54.  
  55. 2 - Server Crash
  56.  
  57. 3 - Server Message
  58.  
  59. 4 - Disconnect
  60.  
  61.  
  62.  
  63. The other 12 bits are the number of minutes until shutdown, or an extended 
  64. bitmap.
  65.  
  66.  
  67.  
  68. See the Developers kit for more details.
  69.  
  70.  
  71.  
  72.  
  73. Mike
  74.  
  75.  
  76.  
  77.  
  78. ********************************************************
  79.  
  80. Mike Bell                                                                  email: bell@apple.com
  81. Senior Engineer
  82. 68000 High Performance Software Group
  83. MS 60-CS
  84. Apple Computer, Inc.
  85. 20525 Mariani Ave.
  86. Cupertino, CA 95014
  87.  
  88. ********************************************************
  89.