|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.nkernel.FeServer
The fundamental Server object. Used for managing the global name space, creating Works,
Editions, and Clubs, and other general server management operations.
Many operations in the protocol use fluidly bound parameters. The possible parameters are:
FeServer defineClientFluid: #CurrentServer with: Listener emulsion with: [NULL].
CurrentKeyMaster - a KeyMaster for providing authority to read and/or edit
CurrentAuthor - the ID of the Club under whose name Work revisions are being done;
requires signature authority
InitialReadClub - the ID of the initial read Club of all newly created Works and Clubs
InitialEditClub - the ID of the initial edit Club of all newly created Works and Clubs
InitialOwner - the ID of the Club which owns newly created RangeElements
InitialSponsor - the ID of the Club which sponsors newly created Works and Clubs; requires
signature authority
| Field Summary | |
protected Encrypter |
myEncrypter
|
protected Sequence |
myEncrypterName
|
| 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 | |
FeServer(Sequence encrypterName,
Encrypter encrypter)
|
|
| Method Summary | |
static ID |
accessClubID()
Essential. |
int |
actualHashForEqual()
|
static ID |
adminClubID()
Essential. |
static ID |
archiveClubID()
Essential. |
static ID |
assignID(FeRangeElement range)
Essential. |
static ID |
assignID(FeRangeElement range,
ID iD)
Essential. |
static void |
cleanupGarbage()
Heaper cleanupGarbage |
static ID |
clubDirectoryID()
The ID of a Work mapping Club names to FeClubs |
static ID |
clubID(Sequence clubName)
Looks up the ID of a named Club in the directory maintained by the System Admin Club. Requires read permission on the directory. |
static Sequence |
clubName(ID iD)
Finds the name of a Club in the global directory maintained by the System Admin Club. Blasts if there is no name for that Club, or if there is more than one. |
static SequenceRegion |
clubNames()
The names of all global Clubs. |
static FeServer |
current()
The Server object for the current connection to Xanadu |
static IntegerVar |
currentTime()
The current clock time on the Server, in seconds since the 'beginning of time' |
static void |
disableAccess(ID clubID)
Disable login access to a Club, by revoking its direct membership of the System Access Club |
static ID |
emptyClubID()
Essential. |
static void |
enableAccess(ID clubID)
Enable login access to a Club, by listing it as a direct member of the System Access Club |
Encrypter |
encrypter()
Return the Encrypter used for sending sensitive parameters to the Server. |
static Sequence |
encrypterName()
Essential. |
static FilterSpace |
endorsementFilterSpace()
The CoordinateSpace used for filtering endorsements on this Server. |
static CrossRegion |
endorsementRegion(IDRegion clubs,
IDRegion tokens)
A set of endorsements for each Club endorsing with each token |
static CrossSpace |
endorsementSpace()
A set of endorsements for each Club endorsing with each token |
static void |
exitTimeNonInherited()
|
static void |
force()
Flush the Server's output buffers. |
static FeLockSmith |
gateLockSmith()
The LockSmith which hands out locks when a client tries to login through the GateKeeper with an invalid Club ID or name. |
static FeRangeElement |
get(ID iD)
Essential. |
Sequence |
getEncrypterName()
Essential. |
static FeWork |
globalClubs()
The Work mapping names to global Club Works |
static Sequence |
identifier()
Essential. |
static ID |
iDOf(FeRangeElement value)
Find the unique global ID on this Server that has been assigned to this RangeElement. Blast if there is none, or more than one. Equivalent to CAST(ID, this->iDsOf (value)->theOne ()) |
static IDRegion |
iDsOf(FeRangeElement value)
Essential. |
static IDRegion |
iDsOfRange(FeEdition edition)
Find all the global IDs on this Server that have been assigned to any of the RangeElements in an Edition |
static FeServer |
implicitReceiver()
Get the receiver for wire requests. |
static void |
info()
{ID CLIENT} accessClubID {ID CLIENT} adminClubID {FeAdminer CLIENT} adminer {ID CLIENT} archiveClubID {FeArchiver CLIENT} archiver {ID CLIENT} assignID: range {FeRangeElement} with: iD {ID default: NULL} {ID CLIENT} clubDirectoryID {CrossSpace CLIENT} crossSpace: subSpaces {PtrArray of: CoordinateSpace} {IntegerVar CLIENT} currentTime {FilterSpace CLIENT} endorsementFilterSpace {CrossRegion CLIENT of: IDRegion and: IDRegion} endorsementRegion: clubs {IDRegion | NULL} with: tokens {IDRegion | NULL} {CrossSpace CLIENT of: IDSpace and: IDSpace} endorsementSpace {FilterSpace CLIENT} filterSpace: baseSpace {CoordinateSpace} {FeRangeElement CLIENT} get: iD {ID} {Sequence CLIENT} identifier {ID CLIENT} iDOf: value {FeRangeElement} {IDRegion CLIENT} iDsOf: value {FeRangeElement} {IDRegion CLIENT} iDsOfRange: edition {FeEdition} {PrimFloatSpec CLIENT} iEEESpec: precision {Int32} {ID CLIENT} importID: data {UInt8Array} {IDRegion CLIENT} importIDRegion: data {UInt8Array} {IDSpace CLIENT} importIDSpace: data {UInt8Array} {IntegerSpace CLIENT} integerSpace {FeBooLockSmith CLIENT} newBooLockSmith {FeChallengeLockSmith CLIENT} newChallengeLockSmith: publicKey {UInt8Array} with: encrypterName {PrimIntegerArray} {FeClub CLIENT} newClub: description {FeEdition} {FeClubDescription CLIENT} newClubDescription: membership {(FeSet of: FeClub) | NULL} with: lockSmith {FeLockSmith default: NULL} {FeClubDescription CLIENT} newClubDescription: members {FeWorkSet} with: lockSmith {FeLockSmith} with: home {FeWork | NULL} {FeDataHolder CLIENT} newDataHolder: value {PrimValue} {FeEdition CLIENT} newEdition: values {PrimArray of: FeRangeElement} with: positions {XuRegion default: NULL} with: ordering {OrderSpec default: NULL} {FeEdition CLIENT} newEditionWith: position {Position} with: value {FeRangeElement} {FeEdition CLIENT} newEditionWithAll: domain {XuRegion} with: value {FeRangeElement} {FeEdition CLIENT} newEmptyEdition: cs {CoordinateSpace} {FeHyperLink CLIENT} newHyperLink: types {(FeSet of: FeWork) default: NULL} with: leftEnd {FeHyperRef default: NULL} with: rightEnd {FeHyperRef default: NULL} {ID CLIENT} newID {FeIDHolder CLIENT} newIDHolder: iD {ID} {IDSpace CLIENT} newIDSpace {FeLabel CLIENT} newLabel {FeMatchLockSmith CLIENT} newMatchLockSmith: scrambledPassword {UInt8Array} with: scramblerName {PrimIntegerArray} {FeMultiLockSmith CLIENT} newMultiLockSmith {FeMultiRef CLIENT} newMultiRef: refs {(PtrArray of: FeHyperRef) default: NULL} with: workContext {FeWork default: NULL} with: originalContext {FeWork default: NULL} with: pathContext {FePath default: NULL} {FePath CLIENT} newPath: labels {(PtrArray of: FeLabel) default: NULL} {FeRangeElement CLIENT} newPlaceHolder {FeEdition CLIENT} newPlaceHolders: domain {XuRegion} {FeSet CLIENT} newSet: values {(PtrArray of: FeRangeElement) default: NULL} {FeSingleRef CLIENT} newSingleRef: excerpt {FeEdition | NULL} with: workContext {FeWork default: NULL} with: originalContext {FeWork default: NULL} with: pathContext {FePath default: NULL} {FeText CLIENT} newText: data {PrimArray.X default: NULL} {FeWallLockSmith CLIENT} newWallLockSmith {FeWork CLIENT} newWork: contents {FeEdition} {ID CLIENT} nullClubID {PrimPointerSpec CLIENT} pointerSpec {ID CLIENT} publicClubID {FeKeyMaster CLIENT} publicKeyMaster {RealSpace CLIENT} realSpace {FeSession CLIENT} session {void CLIENT} waitForConsequences: detector {PrWaitDetector} {void CLIENT} waitForWrite: detector {PrWaitDetector} {FeWrapperSpec CLIENT} wrapperSpec: name {Sequence} |
static boolean |
isAdmitted()
Return true if the current session has successfully logged into the Server yet. |
boolean |
isEqual(java.lang.Object other)
|
static void |
linkTimeNonInherited()
|
static Lock |
login(ID clubID)
Essential. |
static Lock |
loginByName(Sequence clubName)
Essential. |
static Heaper |
make()
|
static void |
nameClub(Sequence clubName,
ID clubID)
Add a Club to the global list of club names. |
FeClubDescription |
newClubDescription(FeSet membership)
|
static ID |
nullClubID()
|
PrimPointerSpec |
pointerSpec()
Essential. |
static ID |
publicClubID()
Essential. |
static UInt8Array |
publicKey()
Essential. |
static void |
removeWaitDetector(FeWaitDetector detector)
This is currently a no-op. |
static void |
renameClub(Sequence oldName,
Sequence newName)
Changes the name of an existing Club. |
static void |
setCurrentAuthor(ID iD)
Set the Server side fluid for the CurrentAuthor. |
static void |
setCurrentKeyMaster(FeKeyMaster km)
Set the Server side fluid for the CurrentKeyMaster. |
static void |
setInitialEditClub(ID iD)
Set the Server side fluid for the InitialEditClub. |
static void |
setInitialOwner(ID iD)
Set the Server side fluid for the InitialOwner. |
static void |
setInitialReadClub(ID iD)
Set the Server side fluid for the InitialReadClub. |
static void |
setInitialSponsor(ID iD)
Set the Server side fluid for the InitialSponsor. |
static void |
staticTimeNonInherited()
|
static void |
unnameClub(Sequence clubName)
Removes a naming for a Club. |
static FeWaitDetector |
waitForConsequences()
Essential. |
static void |
waitForConsequences(FeWaitDetector detector)
Essential. |
static FeWaitDetector |
waitForWrite()
Essential. |
static void |
waitForWrite(FeWaitDetector detector)
Essential. |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, 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 |
| Field Detail |
protected Sequence myEncrypterName
protected Encrypter myEncrypter
| Constructor Detail |
public FeServer(Sequence encrypterName,
Encrypter encrypter)
| Method Detail |
public PrimPointerSpec pointerSpec()
public Encrypter encrypter()
public Sequence getEncrypterName()
public FeClubDescription newClubDescription(FeSet membership)
public int actualHashForEqual()
actualHashForEqual in class Heaperpublic boolean isEqual(java.lang.Object other)
public static void cleanupGarbage()
Heaper
public static void exitTimeNonInherited()
public static void linkTimeNonInherited()
public static void staticTimeNonInherited()
public static ID assignID(FeRangeElement range)
public static FeServer current()
public static ID nullClubID()
public static ID clubID(Sequence clubName)
public static Sequence clubName(ID iD)
public static SequenceRegion clubNames()
public static void disableAccess(ID clubID)
public static void enableAccess(ID clubID)
public static FilterSpace endorsementFilterSpace()
public static CrossRegion endorsementRegion(IDRegion clubs,
IDRegion tokens)
public static CrossSpace endorsementSpace()
public static FeWork globalClubs()
public static boolean isAdmitted()
public static void nameClub(Sequence clubName,
ID clubID)
public static void renameClub(Sequence oldName,
Sequence newName)
public static void unnameClub(Sequence clubName)
public static FeServer implicitReceiver()
public static Heaper make()
public static void info()
public static ID accessClubID()
public static ID adminClubID()
public static ID archiveClubID()
public static ID emptyClubID()
public static Sequence encrypterName()
public static Lock login(ID clubID)
public static Lock loginByName(Sequence clubName)
public static ID publicClubID()
public static UInt8Array publicKey()
public static void force()
public static void setCurrentAuthor(ID iD)
public static void setCurrentKeyMaster(FeKeyMaster km)
public static void setInitialEditClub(ID iD)
public static void setInitialOwner(ID iD)
public static void setInitialReadClub(ID iD)
public static void setInitialSponsor(ID iD)
public static ID assignID(FeRangeElement range,
ID iD)
public static ID clubDirectoryID()
public static FeRangeElement get(ID iD)
public static ID iDOf(FeRangeElement value)
public static IDRegion iDsOf(FeRangeElement value)
public static IDRegion iDsOfRange(FeEdition edition)
public static IntegerVar currentTime()
public static FeLockSmith gateLockSmith()
public static Sequence identifier()
public static void removeWaitDetector(FeWaitDetector detector)
public static FeWaitDetector waitForConsequences()
public static void waitForConsequences(FeWaitDetector detector)
public static FeWaitDetector waitForWrite()
public static void waitForWrite(FeWaitDetector detector)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||