beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 825

background image

C H A P T E R 2 2

Transport Interface

Summary of the Transport Interface

22-37

AppInFront:

function

, // notifies transport of change in

app frontmost status

AppOpened:

function

, // notifies transport of app opening

CancelRequest:

function

, // cancels in-progress operation

CanPutAway:

function

, // put away hook for transport

CheckOutbox:

function

, // invokes SendRequest operation

CloseStatusDialog:

function

, // closes status dialog

ConnectionDetect:

function

, // force send now or later

GetConfig:

function

, // returns a prefs value

GetDefaultOwnerStore:

function

, // returns default store

GetFolderName:

function

, // gets folder name for item

GetFromText:

function

, // hook to supply item sender

GetItemInfo:

function

, // returns item to or from info

GetItemStateString:

function

, // returns item status string

GetItemTime:

function

, // returns item time stamp info

GetItemTitle:

function

, // returns item title

GetNameText:

function

, // returns name string from namerefs

GetStatusString:

function

, // returns transport status

GetTitleInfoShape:

function

, // returns info shape

GetToText:

function

, // hook to supply item recipient(s)

GetTransportScripts:

function

,// extends In/Out Box actions

HandleError:

function

, // displays error alert

HandleThrow:

function

, // handles exceptions

IgnoreError:

function

, // screens errors

InstallScript:

function

, // notification of installation

IOBoxExtensions:

function

, // extends In/Out Box view defs

IsInItem:

function

, // is item in the In or Out Box?

IsLogItem:

function

, // has item been logged?

ItemCompleted:

function

, // processes an item

ItemDeleted:

function

, // called when item is deleted

ItemDuplicated:

function

, // called when item is duplicated

ItemPutAway:

function

, // called after item is put away

ItemRequest:

function

, // gets next queued item

MakeLogEntry:

function

, // makes log entry

MissingTarget:

function

, // notification of missing target

NewFromItem:

function

, // gets item frame for received data

NewItem:

function

, // gets new item frame

NormalizeAddress:

function

, // translates e-mail address

PowerOffCheck:

function

, // notification of power-off

QueueRequest:

function

, // queues item for later handling

ReceiveRequest:

function

, // receives data

SendRequest:

function

, // sends data

SetConfig:

function

, // sets a prefs value

SetStatusDialog:

function

, // opens/updates status dialog