Apple Newton Utilities Guide de l'utilisateur Page 792

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 791
CHAPTER 22
Transport Interface
22-4 About Transports
completionScript
A Boolean; if true, the transport sends the
ItemCompletionScript message to the application when
the item’s state changes or when errors occur. For more
details on this mechanism, see the section “Completion and
Logging” beginning on page 22-16.
needsResolve A Boolean that is set to true if the body slot contains an
alias, rather than the actual data. This means that the format
method
ResolveBody must be called before the item is sent.
For transports that need addressing information, this is usually encapsulated in
name references. A name reference is a frame that contains a soup entry or an
alias to one, usually from the Names soup, hence the term name reference. The
system includes built-in data denitions that can access name references, along
with associated view denitions to display the information stored in or referenced
by a name reference. For more information about using name references for
addressing information, see the section “Creating a Name Reference” beginning on
page 21-27. For more on name references in general, see “Name References”
(page 5-1) in Newton Programmers Reference.
The following slots in the item frame dene the recipient and sender addresses:
toRef An array containing one or more name references used to
identify the recipient(s) of the item.
fromRef A frame containing a name reference that identies the
sender. This information is usually extracted from the
sender’s current owner card, or current persona. The transport
normally sets this slot in its
NewItem method. For more
information, see the section “Obtaining an Item Frame”
beginning on page 22-13.
cc An array containing one or more name references used to
identify recipients of copies of the item. Typically, this slot is
used by e-mail transports.
bcc An array containing one or more name references used to
identify recipients of blind copies of the item. Typically, this
slot is used by e-mail transports.
In addition, there may be other address slots used by some transports.
For a detailed description of all the item frame slots that are important to the Routing
interface, see “Item Frame” (page 18-1) in Newton Programmers Reference.
Vue de la page 791
1 2 ... 787 788 789 790 791 792 793 794 795 796 797 ... 941 942

Commentaires sur ces manuels

Pas de commentaire