Namespace: Ccs.Common
Interface 
IClientContext Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

This Software is licensed by Progress Software Corporation (licensor)
under the Progress Software Common Component Specification Project
Release License Agreement available at
https://community.progress.com/products/directions/common_component/p/releaselicenseagreement
The Interface definition is part of the Common Component Specification [CCSBE01]. The
file is considered as a Specification Implementation Condition as described
in section 2.1.1.1: If Licensor has made Specification Implementation
Conditions available as of the date Licensee completes its Independent
Implementation, then Licensee must, prior to making any claim that its
Independent Implementation complies with the Specification, ensure that
the Independent Implementation satisfies all of the Specification
Implementation Conditions. If Licensor subsequently makes available or
updates, from time to time, the Specification Implementation Conditions,
then Licensee will verify that its Independent Implementation satisfies the
latest version of the Specification Implementation Conditions within ninety
(90) days following Licensor's release thereof.
Contributors:
Peter Judge, Progress Software Corp [2017]
File:IClientContext
Purpose:Session Management Client Context interface
Author(s):pjudge@progress.com
Created:2017-03-02
Notes:* The Client Context object represents the client context data for the client making the request.
The current Client Context object is instantiated and made available by the Session Manager.
The Session Manager must allow for the application to supply the implementation of the Ccs.Common.IClientContext interface
/* A unique ID for the Client Context object.



Top Method Summary
Options Name Purpose
+ initializeConext (character) /* Initialize the context data for the Client Context object @param character The known Session ID for the client request @throws Progress.Lang.SysError, Progress.Lang.AppError */
+ initializeConext (handle) /* Initialize the context data for the Client Context object @param handle The handle to the Client Principal object for the client request @throws Progress.Lang.SysError, Progress.Lang.AppError */
+ saveContext () /* Save the context data to a persistent store @throws Progress.Lang.SysError, Progress.Lang.AppError */

Top Property Summary
Options Name Purpose
+ HANDLE clientPrincipal
+ CHARACTER contextID


Method Detail
Top

PUBLIC initializeConext (character)

/* Initialize the context data for the Client Context object
@throws Progress.Lang.SysError, Progress.Lang.AppError

Parameters:
pcSessionID CHARACTER
Top

PUBLIC initializeConext (handle)

/* Initialize the context data for the Client Context object
@throws Progress.Lang.SysError, Progress.Lang.AppError

Parameters:
phClientPrincipal HANDLE
Top

PUBLIC saveContext ()

/* Save the context data to a persistent store
@throws Progress.Lang.SysError, Progress.Lang.AppError



Property Detail
Top

PUBLIC HANDLE clientPrincipal


Returns HANDLE
Top

PUBLIC CHARACTER contextID


Returns CHARACTER


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       05.06.2023 05:30:32