The GenGlobals class is a base class for a C++ connector. From this class, a connector developer must derive a connector class and implement the virtual methods for the connector. This connector class contains the code for the application-specific component of the connector.
The header file for this class is GenGlobals.hpp. It resides in the following subdirectory of your product directory:
DevelopmentKits\cdk\generic_include
Table 106 summarizes the methods in the GenGlobals class.
Member methods of the GenGlobals classMember method | Description | Page |
---|---|---|
GenGlobals() | Creates an instance of the GenGlobals class. | GenGlobals() |
executeCollaboration() | Send business object request to a collaboration. | executeCollaboration() |
generateAndLogMsg() | Generates a message from a message file and sends it to the connector's log destination. | generateAndLogMsg() |
generateAndTraceMsg() | Generates a trace message from a message file and sends it to the connector's log destination. | generateAndTraceMsg() |
generateMsg() | Generates a message from a message file that you provide. | generateMsg() |
getBOHandlerforBO() | Retrieves the handler for a business object. | getBOHandlerforBO() |
getCollabNames() | Retrieves a list of collaboration names that are available to process business object requests. | getCollabNames() |
getConfigProp() | Retrieves a property for the connector from the repository. | getConfigProp() |
getTheSubHandler() | Retrieves a subscription handler to determine which collaborations subscribe to the business object definition for the incoming business object. | getTheSubHandler() |
getVersion() | Retrieves the version of the application-specific component of the connector framework. | getVersion() |
init() | Establishes a connection with the application. | init() |
isAgentCapableOfPolling() | Determines whether this connector-agent process can perform polling. | isAgentCapableOfPolling() |
logMsg() | Logs a message. | logMsg() |
pollForEvents() | Polls an application for changes to business objects. | pollForEvents() |
terminate() | Closes the connection with the application and frees allocated resources. | terminate() |
traceWrite() | Writes a trace message. | traceWrite() |