Index

dkWorkFlowService

Purpose:

The dkWorkFlowService class defines an abstract class for workflow service objects. This class provides a set of common functions for different workflow services.

Class summary:

    class dkWorkFlowService
    {
   public:
     dkWorkFlowService (const char* workflow_service_type,
                        const char* workflow_service_name = "");
     virtual ~dkWorkFlowService();
 
     virtual void connect (const char * workflow_service_name,
                           const char * user_name = "",
                           const char * authentication = "",
                           const char * connect_string = "");
     virtual void disconnect();
     virtual DKString workFlowServiceType() const;
     virtual DKString workFlowServiceName() const;
     virtual DKString userName() const;
     virtual DKBoolean isConnected();
     virtual DKHandle* connection();
    };    

Members:

Constructors and destructor
Parameters
workflow_service_type -- The type of workflow service.
workflow_service_name -- The name of the workflow service.

     dkWorkFlowService (const char* workflow_service_type,
                        const char* workflow_service_name = "");
     virtual ~dkWorkFlowService();
 

Member functions

connect
Connects to the named workflow service. The user name, authentication, and connect string information is all optional.
     virtual void connect (const char * workflow_service_name,
                           const char * user_name = "",
                           const char * authentication = "",
                           const char * connect_string = "");
 

disconnect
Disconnects from the workflow service.
     virtual void disconnect();
 

workFlowServiceType
Returns the type of workflow service.
     virtual DKString workFlowServiceType() const;
 

workFlowServiceName
Returns the name of the workflow service.
    virtual DKString workFlowServiceName() const;
 

userName
Returns the user name.
     virtual DKString userName() const;
 

isConnected
Returns the status of the connection after attempting to connect to the workflow service.
     virtual DKBoolean isConnected();
 

connection
Returns the connection handle to the workflow service.
    virtual DKHandle* connection();
 

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.