Namespace: Consultingwerk.Framework
Interface 
IAppServerServiceManager Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Framework.AppServerServiceManager, Consultingwerk.Framework.SessionServiceManager, Consultingwerk.Framework.StartupParameterAppServerServiceManager

File:IAppServerServiceManager
Purpose:Interface describing the methods required by a service
manager used by the SmartComponent Library
Syntax:CLASS xyz IMPLEMENTS IAppServerServiceManager
Description:http://confluence.consultingwerkcloud.com/wiki/display/SCL/Managing+AppServer+Connections
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 26 16:45:19 CEST 2009
Notes:The service Manager interface can also be implemented
by an adapter to another service manager (Dynamics or
ADM2).



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 Property Summary
Options Name Purpose
+ CHARACTER Partitions


Method Detail
Top

PUBLIC HANDLE ConnectService (character)

Purpose: Connects a single AppServer partition
Notes: Returns the Handle to 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


Property Detail
Top

PUBLIC CHARACTER Partitions


Returns CHARACTER


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:26:54