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
SubscribeEvents (IServiceAdapterWithContextEvents, logical) Subscribes to the Events of the Service Adapter instance

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


Method Detail
Top

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

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
Top

SubscribeEvents (IServiceAdapterWithContextEvents, logical)

Purpose: Subscribes to the Events of the Service Adapter instance
Notes:

Parameters:
poServiceAdapter Consultingwerk.OERA.IServiceAdapterWithContextEvents
The ServiceAdapter instance to subscribe to
plCollectContextFromServer LOGICAL
Logical value indicating if the context from the server should be assigned back to the client side SessionManager


Constructor Detail
Top

SessionContextSerializer ()

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

Top

SessionContextSerializer (IServiceAdapterWithContextEvents)

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

Parameters:
poServiceAdapter Consultingwerk.OERA.IServiceAdapterWithContextEvents
The ServiceAdapter instance to subscribe to
Top

SessionContextSerializer (IServiceAdapterWithContextEvents, logical)

Purpose: Constructor for the SessionContextSerializer class
Notes:

Parameters:
poServiceAdapter Consultingwerk.OERA.IServiceAdapterWithContextEvents
The ServiceAdapter instance to subscribe to
plCollectContextFromServer LOGICAL
Logical value indicating if the context from the server should be assigned back to the client side SessionManager
Top

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-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:21:42