Method | Description | |
---|---|---|
ActivateSession ( |
Activates an existing session
|
|
CloseSession ( NodeId sessionId ) : void |
Closes the specifed session. This method should not throw an exception if the session no longer exists. |
|
CreateSession ( |
Creates a new session.
|
|
Dispose ( ) : void |
Frees any unmanaged resources.
|
|
GetSessions ( ) : IList |
Returns all of the sessions known to the session manager.
|
|
SessionManager ( IServerInternal server, ApplicationConfiguration configuration ) : System |
Initializes the manager with its configuration.
|
|
Shutdown ( ) : void |
Stops the session manager and closes all sessions.
|
|
Startup ( ) : void |
Starts the session manager.
|
|
ValidateRequest ( RequestHeader requestHeader, RequestType requestType ) : |
Validates request header and returns a request context. This method verifies that the session id valid and that it uses secure channel id associated with with current thread. It also verifies that the timestamp is not too and that the sequence number is not out of order (update requests only). |
Method | Description | |
---|---|---|
CreateSession ( |
Creates a new instance of a session.
|
|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
RaiseSessionEvent ( |
Raises an event related to a session.
|
Method | Description | |
---|---|---|
MonitorSessions ( object data ) : void |
Periodically checks if the sessions have timed out.
|
public ActivateSession ( |
||
context | ||
authenticationToken | NodeId | |
clientSignature | SignatureData | |
clientSoftwareCertificates | List |
|
userIdentityToken | ExtensionObject | |
userTokenSignature | SignatureData | |
localeIds | StringCollection | |
serverNonce | byte | |
return | bool |
public CloseSession ( NodeId sessionId ) : void | ||
sessionId | NodeId | |
return | void |
protected CreateSession ( |
||
context | ||
server | IServerInternal | |
serverCertificate | ||
sessionCookie | NodeId | |
serverNonce | byte | |
sessionName | string | |
clientDescription | ApplicationDescription | |
endpointUrl | string | |
clientCertificate | ||
sessionTimeout | double | |
maxResponseMessageSize | uint | |
maxRequestAge | int | |
maxContinuationPoints | int | |
return |
public CreateSession ( |
||
context | ||
serverCertificate | ||
sessionName | string | |
clientNonce | byte | |
clientDescription | ApplicationDescription | |
endpointUrl | string | |
clientCertificate | ||
requestedSessionTimeout | double | |
maxResponseMessageSize | uint | |
sessionId | NodeId | |
authenticationToken | NodeId | |
serverNonce | byte | |
revisedSessionTimeout | double | |
return |
protected RaiseSessionEvent ( |
||
session | ||
reason | SessionEventReason | |
return | void |
public SessionManager ( IServerInternal server, ApplicationConfiguration configuration ) : System | ||
server | IServerInternal | |
configuration | ApplicationConfiguration | |
return | System |
public ValidateRequest ( RequestHeader requestHeader, RequestType requestType ) : |
||
requestHeader | RequestHeader | |
requestType | RequestType | |
return |