org.abora.gold.nadmin
Class FeSession

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.nadmin.FeSession
Direct Known Subclasses:
DefaultSession, FePromiseSession

public class FeSession
extends Heaper

Represent a single unique connection to the server over some underlying bytestream
channel.


Field Summary
protected  IntegerVar myConnectTime
           
protected  ID myInitialLogin
           
 
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
FeSession()
           
 
Method Summary
static Stepper allActive()
          CurrentSessions fluidFetch == NULL
ifTrue: [^Stepper itemStepper: CurrentSession fluidGet]
ifFalse:
[| acc {SetAccumulator} cur {FePromiseSession} |
acc _ SetAccumulator make.
cur _ CurrentSessions fluidGet.
[cur ~~ NULL] whileTrue:
[acc step: cur.
cur _ cur next].
^(acc value cast: ScruSet) stepper]
 IntegerVar connectTime()
          Essential.
static FeSession current()
           
 void endSession()
          Essential.
 void endSession(boolean withPrejudice)
          Essential.
static void info()
          {IntegerVar CLIENT} connectTime
{void CLIENT} disconnect
{IDRegion CLIENT} initialLogins
{PrimIntegerArray CLIENT} port
 ID initialLogin()
          Essential.
 boolean isConnected()
          Return whether the session has sucessfully logged in, and is still logged in.
 boolean isLoggedIn()
          Return whether the session has sucessfully logged in.
 UInt8Array port()
          Essential.
 void setInitialLogin(ID iD)
          Set the ID of the Club which initially logged in during this session
static void staticTimeNonInherited()
           
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, actualHashForEqual, 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, 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

myInitialLogin

protected ID myInitialLogin

myConnectTime

protected IntegerVar myConnectTime
Constructor Detail

FeSession

public FeSession()
Method Detail

connectTime

public IntegerVar connectTime()
Essential. The clock time at which the connection was initiated.


endSession

public void endSession(boolean withPrejudice)
Essential. Terminate this connection. If withPrejudice is false, it completes the current
request and flushes all output before disconnecting.


initialLogin

public ID initialLogin()
Essential. The ID of the club that the session logged into to get past the perimeter.
Blast of the session is not yet admitted.


isConnected

public boolean isConnected()
Return whether the session has sucessfully logged in, and is still logged in.


isLoggedIn

public boolean isLoggedIn()
Return whether the session has sucessfully logged in.


port

public UInt8Array port()
Essential. A system-specific description of the actual transport medium over which the
connection is being maintained.


endSession

public void endSession()
Essential. Gracefully terminate this connection


setInitialLogin

public void setInitialLogin(ID iD)
Set the ID of the Club which initially logged in during this session


info

public static void info()
{IntegerVar CLIENT} connectTime
{void CLIENT} disconnect
{IDRegion CLIENT} initialLogins
{PrimIntegerArray CLIENT} port


allActive

public static Stepper allActive()
CurrentSessions fluidFetch == NULL
ifTrue: [^Stepper itemStepper: CurrentSession fluidGet]
ifFalse:
[| acc {SetAccumulator} cur {FePromiseSession} |
acc _ SetAccumulator make.
cur _ CurrentSessions fluidGet.
[cur ~~ NULL] whileTrue:
[acc step: cur.
cur _ cur next].
^(acc value cast: ScruSet) stepper]


current

public static FeSession current()

staticTimeNonInherited

public static void staticTimeNonInherited()


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