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
Purpose: Returns the handle of the adecomm/as-utils.w instance
Notes:



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

PUBLIC 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

PUBLIC DisconnectService (character)

Purpose: Disconnects a single AppServer partition
Notes:

Parameters:
pcServicePartition CHARACTER
The partition to disconnect from
Top

PUBLIC 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

PUBLIC 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

PUBLIC 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

PUBLIC AppServerServiceManager ()

Purpose: Constructor for the AppServerServiceManager class
Notes:



Property Detail
Top

PROTECTED HANDLE AppSrvUtils


Returns HANDLE
Top

PUBLIC CHARACTER DefaultPartition


Returns CHARACTER
Top

PUBLIC CHARACTER Partitions


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       27.03.2024 00:27:19