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

File:AppServerServiceManager
Purpose:IAppServerServiceManager Implementation, wrapper to
adecomm/as-utils.w
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 26 17:53:10 CEST 2009
Notes:https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8093761/Managing+AppServer+Connections



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 handle to a AppServer partition
LOGICAL IsConnected (character) Returns TRUE if the specified AppServer Partition is known and connected.

Top Constructor Summary
Options Name Purpose
AppServerServiceManager () Constructor for the AppServerServiceManager class

Top Property Summary
Options Name Purpose
HANDLE AppSrvUtils
CHARACTER DefaultPartition
CHARACTER Partitions


Method Detail
Top

HANDLE ConnectService (character)

Purpose: Connects a single AppServer partition
Notes: Returns the Handle of the AppServer partition (Server handle or
session handle). Throws error when connection fails

Parameters:
pcServicePartition CHARACTER
The partition to return a server handle for
Returns HANDLE
The HANDLE of the server object
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:

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

HANDLE GetServiceHandle (character, logical)

Purpose: Returns the handle to a AppServer partition
Notes: When plConnectIfRequired is set to TRUE, the partition will be
connected if required.

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

LOGICAL IsConnected (character)

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

Parameters:
pcServicePartition CHARACTER
The name of the partition to check if connection is established
Returns LOGICAL
Logical value indicating if the service is connected


Constructor Detail
Top

AppServerServiceManager ()

Purpose: Constructor for the AppServerServiceManager class
Notes:



Property Detail
Top

HANDLE AppSrvUtils


Returns HANDLE
Top

CHARACTER DefaultPartition


Returns CHARACTER
Top

CHARACTER Partitions


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       03.05.2026 21:37:11