org.abora.gold.nkernel
Class FePlaceHolder

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.nkernel.FeRangeElement
                    |
                    +--org.abora.gold.nkernel.FePlaceHolder
Direct Known Subclasses:
FeActualPlaceHolder, FeGrandPlaceHolder, FeVirtualPlaceHolder

public class FePlaceHolder
extends FeRangeElement

Represents a piece of pure identity in the Server.


Field Summary
 
Fields inherited from class org.abora.gold.xpp.basic.Heaper
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes
 
Fields inherited from class org.abora.gold.java.AboraHeaper
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag
 
Constructor Summary
FePlaceHolder()
           
 
Method Summary
 void addFillDetector(FeFillDetector detector)
          Essential.
 FeRangeElement again()
          Essential.
 boolean canMakeIdentical(FeRangeElement newIdentity)
          Essential.
static FePlaceHolder fake(BeEdition edition, Position key)
           
 BeRangeElement fetchBe()
          If this has a reified Be object, then return it, else NULL
 BeRangeElement getOrMakeBe()
          An individual BeRangeElement for this identity.
static FePlaceHolder grand(ID iD)
           
 void makeIdentical(FeRangeElement newIdentity)
          Essential.
static FePlaceHolder on(BeRangeElement be)
           
 
Methods inherited from class org.abora.gold.nkernel.FeRangeElement
actualHashForEqual, becomeOther, carrier, fillDetector, info, inspect, isEqual, isIdentical, isSameAs, label, owner, placeHolder, relabelled, removeFillDetector, setOwner, transcluders, transcluders, transcluders, transcluders, transcluders, validateEndorsement, validateSignature, works, works, works, works
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqual, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, linkTimeNonInherited, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, sendSelfTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
Methods inherited from class org.abora.gold.java.AboraHeaper
asOop, basicInspect, displayString, error, hack, halt, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FePlaceHolder

public FePlaceHolder()
Method Detail

addFillDetector

public void addFillDetector(FeFillDetector detector)
Description copied from class: FeRangeElement
Essential. When this PlaceHolder becomes any other kind of RangeElement, then the
Detector will be triggered with the new RangeElement. If this is already not a
PlaceHolder, then the Detector is triggered immediately with this RangeElement.
See FillRangeDetector::filled (RangeElement * newIdentity).

Overrides:
addFillDetector in class FeRangeElement

again

public FeRangeElement again()
Description copied from class: FeRangeElement
Essential. An object reflecting the current identity of this object, in case it is a
PlaceHolder that has become something else since it was received from the Server.

Overrides:
again in class FeRangeElement

canMakeIdentical

public boolean canMakeIdentical(FeRangeElement newIdentity)
Description copied from class: FeRangeElement
Essential. Whether the identity of this object could be changed to the other.
Does not check whether the CurrentKeyMaster has authority to do it.
The restrictions on this operation depend on which subclass this is, but in general
(except for PlaceHolders) an object can only become another of the same type with the same
content.

Overrides:
canMakeIdentical in class FeRangeElement

makeIdentical

public void makeIdentical(FeRangeElement newIdentity)
Description copied from class: FeRangeElement
Essential. Change the identity of this object to the other. BLAST if unsuccessful.
Requires authority of the current owner; if the operation is successful, the owner will
appear to change to that of the other object.
Also requires enough permission on newIdentity to determine, by comparing content, whether
the operation would succeed.
The restrictions on this operation depend on which subclass this is, but in general
(except for PlaceHolders) an object can only become another of the same type with the same
content.

Overrides:
makeIdentical in class FeRangeElement

fetchBe

public BeRangeElement fetchBe()
Description copied from class: FeRangeElement
If this has a reified Be object, then return it, else NULL

Overrides:
fetchBe in class FeRangeElement

getOrMakeBe

public BeRangeElement getOrMakeBe()
Description copied from class: FeRangeElement
An individual BeRangeElement for this identity. If the object is virtualized, then
de-virtualizes it.

Overrides:
getOrMakeBe in class FeRangeElement

fake

public static FePlaceHolder fake(BeEdition edition,
                                 Position key)

on

public static FePlaceHolder on(BeRangeElement be)

grand

public static FePlaceHolder grand(ID iD)


Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.