Index - All Packages - All Categories - All Classes

Class PromiseManager


Package: Udanax-Gold
All Superclasses: Object Heaper
Protocols: Object
Categories: Xanadu-proman

Class Methods

ackResponse


delayCast: pm


doneResponse


equals: pm


errorResponse


excusedResponse


export0: pm

The zero argument version of PrimArray export.

export1: pm

The one argument version of PrimArray export.

export2: pm

The two argument version of PrimArray export.

fillClassTable: table


fillDetector: pm

Create the comm detector and add it.

filledResponse


fillRangeDetector: pm

Create the comm detector and add it.

fillRequestTable: table


fillRequestTable1: table


fillRequestTable2: table


fillRequestTable3: table


fillRequestTable4: table


fillRequestTable5: table


force: pm


forceIt: pm


grabbedResponse


humberResponse


humbersResponse


IEEEResponse


IEEEsResponse


initTimeNonInherited


intsResponse


linkTimeNonInherited


make: portal


makeFloat: pm

*

makeFloatArray: pm


makeHumber: pm


makeHumberArray: pm


makeIntArray: pm


makePtrArray: pm

If any of the promises is an error, then pm won't return the PtrArray.

makeRequestTable

PromiseManager makeRequestTable.

mapOverride: sel with: class with: argCount

The table of classes and their selectors overridden by special handlers.

noRequest: pm

For illegal requests.

notLoggedInRequest: pm

For illegal requests.

problemNumber: prob

The number that gets sent over the wire for the given problem name

problemsEVERYU_COMM


problemSource: file with: line

The number that gets sent over the wire for the given problem file/line number

promiseHash: pm


promisesResponse


rangeFilledResponse


releasedResponse


revisedResponse


revisionDetector: pm

Create the comm detector and add it.

setCurrentAuthor: pm

The one argument version of PrimArray export.

setCurrentKeyMaster: pm

Set the fluid.

setInitialEditClub: pm

Set the fluid.

setInitialOwner: pm

Set the fluid.

setInitialReadClub: pm

Set the fluid.

setInitialSponsor: pm

Set the fluid.

shutdown: pm


statusDetector: pm

Create the comm detector and add it.

terminatedResponse


testKindOf: pm


waitForConsequences: pm

Create the comm detector and add it.

waitForWrite: pm

Create the comm detector and add it.

waive: pm


waiveEm: pm


waiveIt: pm



Instance Methods

actualHashForEqual


actualWaive: prnum

Release the promise argument. This could return a value because the PromiseManager doesn't keep any state for void promises.

clientPromiseNumber


create: portal with: clientID with: shuffler


destruct



Overrides: Heaper

fetchBooleanVar

Optimize promise arguments that are expected to point at IntValues.

fetchCategory


fetchHeaper: cat


fetchInt32


fetchIntegerVar

Optimize promise arguments that are expected to point at IntValues.

fetchNonNilHeaper: cat


flushAcks

If any acks have accumulated, flush them.

force


handleRequest


noErrors

Return true if no errors have occurred in the current transaction.

queueDetectorEvent: event

Queue up the detector event. It will be executed after the next transaction.

readStream


receiveIntegerVar

A new representation that requires less shifting (eventually).

receiveRequestNumber

Receive a request number. The first byte is either between 0 and 254 or it
is 255 and the second byte + 255 is the number.

respondBooleanVar: val


respondError


respondHeaper: result


respondIntegerVar: val


respondProblem: problem


respondVoid


sendHumbers: array with: count with: start

Send a bunch of IntegerVars to the client.

sendIEEE32: f


sendIEEE64: f


sendIEEEs: array with: count with: start

Send a bunch of fixed precision integers to the client.

sendIntegerVar: num

Send a Dean style humber. Like Drexler style, except all the tag bits go into the first byte.

sendInts: array with: count with: start

Send a bunch of fixed precision integers to the client.

sendPromise: heaper

Register heaper with the next Server promise number and increment it. The client must stay in sync.

sendPromises: array with: count with: start

Register heaper with the next Server promise number and increment it. The client must stay in sync.

sendResponse: num

Use a representation optimized for small positive numbers.

serverPromiseNumber


waive

Release the promise argument. This could return a value because the PromiseManager doesn't keep any state for void promises.

waiveMany

Release a range of promise argument, given a start and a count. This could return a value because the PromiseManager doesn't keep any state for void promises.


Index - All Packages - All Categories - All Classes