The CRfcFunction Class 

Class Summary

The CRfcFunction class is defined in CRfcFunc.h.

The CRfcFunction class is an abstract class. It is the main class that directly corresponds to remotely callable function modules. For each remotely callable function, an instance of a CRfcFunction derived class (whether CRfcClientFunc or CRfcServerFunc) can be created. It acts as a container of all parameters required for this function, and packs or unpacks parameter values in order to process the actual RFC calls.

Static Variables

rfcTID

Transaction ID for transactional RFC calls

Construction

CRfcFunction

Constructs a function object

Operations

AddExportParam

Adds an export parameter to the function object

AddImportParam

Adds an import parameter to the function object

AddTableParam

Adds a table parameter to the function object

GetConnection

Obtains connection object assigned to function object

GetExportCount

Returns number of export parameters.

GetExportParam (by Index)

Retrieves an export parameter by index

GetExportParam (by Name)

Retrieves an export parameter by name

GetFunctionName

Retrieves the name of the remote-callable function

GetImportCount

Returns number of import parameters.

GetImportParam (by Index)

Retrieves an import parameter by index

GetImportParam (by Name)

Retrieves an import parameter by name

GetTableCount

Returns number of table parameters.

GetTableParam (by Index)

Retrieves a table parameter by index

GetTableParam (by Name)

Retrieves a table parameter by name

Listen

Checks whether an RFC request is available

RemoveExportParam (By Index)

Removes an export parameter from a function object by index

RemoveExportParam (By Name)

Removes an export parameter from a function object by parameter name

RemoveImportParam (By Index)

Removes an import parameter from a function object by index

RemoveImportParam (By Name)

Removes an import parameter from a function object by parameter name

RemoveTableParam (By Index)

Removes a table parameter from a function object by index

RemoveTableParam (By Name)

Removes a table parameter from a function object by parameter name

ReplaceExportParam

Replaces an export parameter in a function object

ReplaceImportParam

Replaces an import parameter in a function object

ReplaceTableParam

Replaces a table parameter in a function object

SetConnection

Assigns a connection object to the function object

SetFunctionName

Assigns a name to the function