메소드 | 설명 | |
---|---|---|
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). |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | bool |
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 | |
리턴 |
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 | |
리턴 |
protected RaiseSessionEvent ( |
||
session | ||
reason | SessionEventReason | |
리턴 | void |
public SessionManager ( IServerInternal server, ApplicationConfiguration configuration ) : System | ||
server | IServerInternal | |
configuration | ApplicationConfiguration | |
리턴 | System |
public ValidateRequest ( RequestHeader requestHeader, RequestType requestType ) : |
||
requestHeader | RequestHeader | |
requestType | RequestType | |
리턴 |