Namespace: Consultingwerk.Framework
Class 
SessionServiceManager Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.IAppServerServiceManager

File:SessionServiceManager
Purpose:Default AppServerServiceManager
Description:This AppServerServiceManager instance implements the
IAppServerServiceManager interface. The only supported
AppServer Partition is "SESSION" for local (client side)
operation. Attempts to "connect" to other partitions
are gracefully ignored (SESSION will be used instead).
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 26 17:04:26 CEST 2009
Notes:No AppServer connection is established. The SESSION
handle is used as AppServer handle.



Top Method Summary
Options Name Purpose
HANDLE ConnectService (character) Connects a single AppServer partition
DisconnectService (character) Disconnects a single AppServer partition
HANDLE GetServiceHandle (character) Returns the handle to a AppServer partition - if connected - returns ? when not connected.
HANDLE GetServiceHandle (character, logical) Returns the SESSION handle.
LOGICAL IsConnected (character) Returns TRUE if the specified AppServer Partition is known and connected.

Top Property Summary
Options Name Purpose
CHARACTER Partitions


Method Detail
Top

HANDLE ConnectService (character)

Purpose: Connects a single AppServer partition
Notes: Always returns the SESSION:HANDLE

Parameters:
pcServicePartition CHARACTER
The partition to return a server handle for
Returns HANDLE
The SESSION:HANDLE
Top

DisconnectService (character)

Purpose: Disconnects a single AppServer partition
Notes:

Parameters:
pcServicePartition CHARACTER
The partition to disconnect from
Top

HANDLE GetServiceHandle (character)

Purpose: Returns the handle to a AppServer partition - if connected -
returns ? when not connected.
Notes: Always returns the SESSION:HANDLE

Parameters:
pcServicePartition CHARACTER
The name of the partition to return the handle for
Returns HANDLE
The SESSION:HANDLE
Top

HANDLE GetServiceHandle (character, logical)

Purpose: Returns the SESSION handle.
Notes: Always returns SESSION:HANDLE

Parameters:
pcServicePartition CHARACTER
The name of the partition to return the handle for
plConnectIfRequired LOGICAL
Connect if not already connected
Returns HANDLE
The SESSION:HANDLE
Top

LOGICAL IsConnected (character)

Purpose: Returns TRUE if the specified AppServer Partition is known and
connected.
Notes: The SESSION is always connected.

Parameters:
pcServicePartition CHARACTER
The name of the partition to check if connection is established
Returns LOGICAL
True, as the SESSION:HANDLE is always connected


Property Detail
Top

CHARACTER Partitions


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:21:44