Namespace: Consultingwerk.Framework.Server
Class 
SessionContextSerializer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SessionContextSerializer
Purpose:Serializes the client side context for a server request
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jan 16 12:50:36 CET 2013
Notes:Uses the Context Dataset for context serialization
Optionally restores modified context from the AppServer
on the client



Top Method Summary
Options Name Purpose
# CollectContextFromServerHandler (Object, EventArgs) Event handler for the CollectContextFromServer event of the Service Adapter
# PrepareContextForServerHandler (Object, EventArgs) Event handler for the PrepareContextForServer event of the Service Adapter

Top Constructor Summary
Options Name Purpose
+ SessionContextSerializer () Constructor for the SessionContextSerializer class
+ SessionContextSerializer (logical) Constructor for the SessionContextSerializer class


Method Detail
Top

PROTECTED CollectContextFromServerHandler (Object, EventArgs)

Purpose: Event handler for the CollectContextFromServer event of the Service Adapter
Notes: Assigns updated context from the server to the client side Session Manager

Parameters:
sender Progress.Lang.Object
The object that raised the CollectContextFromServer event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED PrepareContextForServerHandler (Object, EventArgs)

Purpose: Event handler for the PrepareContextForServer event of the Service Adapter
Notes: Assigns client side Session Manager values to the context dataset

Parameters:
sender Progress.Lang.Object
The object that raised the PrepareContextForServer event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event


Constructor Detail
Top

PUBLIC SessionContextSerializer ()

Purpose: Constructor for the SessionContextSerializer class
Notes: Defaults to NOT collect context from the AppServer

Top

PUBLIC SessionContextSerializer (logical)

Purpose: Constructor for the SessionContextSerializer class
Notes:

Parameters:
plCollectContextFromServer LOGICAL
Logical value indicating if the context from the server should be assigned back to the client side SessionManager


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:12:37