Property | Type | Description | |
---|---|---|---|
FrontEnd | ServerProcessor | ||
Handle | SessionHandle | ||
Initialized | bool | ||
LastActivity | long | ||
LocalScope | Scope | ||
TranslationScope |
Method | Description | |
---|---|---|
BaseSessionManager ( string sessionId, |
||
GetAddress ( ) : |
||
GetLastActivity ( ) : long |
Appends the sender's IP address to the incoming message and calls performService on the given RequestMessage using the local ObjectRegistry. performService(RequestMessage) may be overridden by subclasses to provide more specialized functionality. Generally, overrides should then call super.performService(RequestMessage) so that the IP address is appended to the message. Calls RequestMessage.performService(Scope) and returns the result. Indicates the last System timestamp was when the ContextManager had any activity.
|
|
GetScope ( ) : Scope | ||
GetSessionId ( ) : String | ||
IsInitialized ( ) : bool |
Indicates whether or not this context manager has been initialized. Normally, this means that it has shared a session id with the client.
|
|
IsInvalidating ( ) : System.Boolean | ||
IsMessageWaiting ( ) : bool |
Indicates whether there are any messages queued up to be processed. isMessageWaiting() should be overridden if getNextRequest() is overridden so that it properly reflects the way that getNextRequest() works; it may also be important to override enqueueRequest().
|
|
SendUpdateToClient ( |
||
SetInvalidating ( bool invalidating ) : void | ||
Shutdown ( ) : void |
Hook method for having shutdown behavior. This method is called whenever the server is closing down the connection to this client.
|
Method | Description | |
---|---|---|
GenerateContextScope ( Scope |
Provides the context scope for the client attached to this session manager. The base implementation instantiates a new Scope with baseScope as the argument. Subclasses may provide specific subclasses of Scope as the return value. They must still incorporate baseScope as the lexically chained application object scope.
|
public BaseSessionManager ( string sessionId, |
||
sessionId | string | |
translationScope | ||
applicationObjectScope | Scope |
|
frontend | ServerProcessor | |
return | System |
public abstract GetAddress ( ) : |
||
return |
public abstract SendUpdateToClient ( |
||
update | ||
receivingSessionId | string | |
return | void |
public SetInvalidating ( bool invalidating ) : void | ||
invalidating | bool | |
return | void |