FME Server C++ API 3.0

IFMEServerTransformationManager Class Reference

IFMEServerTransformationManager interface. More...

#include <ifmeservertransformationmanager.h>

List of all members.

Public Member Functions

virtual IFMEServerStatusabortJob (const FME_Int32 jobID)=0
virtual IFMEServerStatusgetJobResult (const FME_Int32 jobID, FME_Boolean &jobResultAvailable, IFMEServerString &fmeServerResponse)=0
virtual IFMEServerStatusgetJobResult (const FME_Int32 jobID, FME_Boolean &jobResultAvailable, IFMEServerTransformationResult &result)=0
virtual IFMEServerStatusgetLogFile (const FME_Int32 jobID, const IFMEServerString &logFilePath, FME_Boolean &exists) const =0
virtual IFMEServerStatusgetLogFileInfo (const FME_Int32 jobID, IFMEServerLogFileInfo &logFileInfo, FME_Boolean &exists) const =0
virtual IFMEServerStatuslogFileExists (const FME_Int32 jobID, FME_Boolean &exists) const =0
virtual IFMEServerStatusscheduleJob (IFMEServerTransformationRequest &request, const FME_UInt32 secondsFromNow, FME_Int32 &jobID)=0
virtual IFMEServerStatusscheduleJob (const IFMEServerString &subsectionName, const IFMEServerString &request, const FME_UInt32 secondsFromNow, const IFMEServerStringArray &directives, FME_Int32 &jobID)=0
virtual IFMEServerStatussubmitJob (const IFMEServerString &subsectionName, const IFMEServerString &request, const IFMEServerStringArray &directives, FME_Int32 &jobID)=0
virtual IFMEServerStatussubmitJob (IFMEServerTransformationRequest &request, FME_Int32 &jobID)=0
virtual IFMEServerStatustransactJob (IFMEServerTransformationRequest &request, IFMEServerTransformationResult &result)=0
virtual IFMEServerStatustransactJob (const IFMEServerString &subsectionName, const IFMEServerString &request, const IFMEServerStringArray &directives, IFMEServerString &fmeServerResponse)=0

Protected Member Functions

 IFMEServerTransformationManager ()
virtual ~IFMEServerTransformationManager ()

Private Member Functions

 IFMEServerTransformationManager (const IFMEServerTransformationManager &other)
IFMEServerTransformationManageroperator= (const IFMEServerTransformationManager &other)

Detailed Description

IFMEServerTransformationManager interface.

Package Overview:

Defines the interface for the "rich" FME Server.

NOTE: FME Server clients using the IFMEServerTransformationManager interface will only work with FME Servers running in RICH mode.

This file defines the interface that subclasses of this class MUST follow.

Developers MUST NOT implement their own subclasses of this, instead, the FME will ALWAYS provide them with the subclass instance they should be using.


Constructor & Destructor Documentation

IFMEServerTransformationManager::IFMEServerTransformationManager ( ) [inline, protected]
virtual IFMEServerTransformationManager::~IFMEServerTransformationManager ( ) [inline, protected, virtual]
IFMEServerTransformationManager::IFMEServerTransformationManager ( const IFMEServerTransformationManager other) [private]

Member Function Documentation

virtual IFMEServerStatus* IFMEServerTransformationManager::abortJob ( const FME_Int32  jobID) [pure virtual]

Abort a job request. This will either remove the job from the queue or cancel its processing if it is currently running on an FME.

Parameters:
jobIDThe job ID of the job to abort.
virtual IFMEServerStatus* IFMEServerTransformationManager::getJobResult ( const FME_Int32  jobID,
FME_Boolean &  jobResultAvailable,
IFMEServerString fmeServerResponse 
) [pure virtual]

Get the job result for the specified job.

Parameters:
jobIDThe job ID of the job result to get.
jobResultAvailableFME_TRUE if results are ready, otherwise FME_FALSE.
fmeServerResponseFME Server result as a string.
Deprecated:
Replaced by getJobResult(const FME_Int32, FME_Boolean&, IFMEServerTransformationResult&)
virtual IFMEServerStatus* IFMEServerTransformationManager::getJobResult ( const FME_Int32  jobID,
FME_Boolean &  jobResultAvailable,
IFMEServerTransformationResult result 
) [pure virtual]

Get the job result for the specified job.

Parameters:
jobIDThe job ID of the job result to get.
jobResultAvailableFME_TRUE if results are ready, otherwise FME_FALSE.
resultThe FME Server result as an IFMEServerTransformationResult object.
virtual IFMEServerStatus* IFMEServerTransformationManager::getLogFile ( const FME_Int32  jobID,
const IFMEServerString logFilePath,
FME_Boolean &  exists 
) const [pure virtual]

BETA - Preview of our new getLogFile method. Safe Software reserves the right to release subsequent versions that require changes to applications that use this method.

Checks if the specified log file exists.

Parameters:
jobIDthe ID of the job whose log file is to be fetched.
logFilePaththe local file path of the log file.
existsFME_TRUE if the log file exists, otherwise FME_FALSE.
Returns:
IFMEServerStatus if a FME Server exception occurred.
virtual IFMEServerStatus* IFMEServerTransformationManager::getLogFileInfo ( const FME_Int32  jobID,
IFMEServerLogFileInfo logFileInfo,
FME_Boolean &  exists 
) const [pure virtual]

BETA - Preview of our new getLogFileInfo method. Safe Software reserves the right to release subsequent versions that require changes to applications that use this method.

Checks if the specified log file exists.

Parameters:
jobIDthe ID of the job whose log file is to be fetched.
logFileInfo
existsFME_TRUE if log file exists, otherwise FME_FALSE.
Returns:
IFMEServerStatus if a FME Server exception occurred.
virtual IFMEServerStatus* IFMEServerTransformationManager::logFileExists ( const FME_Int32  jobID,
FME_Boolean &  exists 
) const [pure virtual]

BETA - Preview of our new logFileExists method. Safe Software reserves the right to release subsequent versions that require changes to applications that use this method.

Checks if the specified log file exists.

Parameters:
jobIDthe ID of the job whose log file is to be fetched.
existsFME_TRUE if the log file exists, otherwise FME_FALSE.
Returns:
IFMEServerStatus if a FME Server exception occurred.
IFMEServerTransformationManager& IFMEServerTransformationManager::operator= ( const IFMEServerTransformationManager other) [private]
virtual IFMEServerStatus* IFMEServerTransformationManager::scheduleJob ( const IFMEServerString subsectionName,
const IFMEServerString request,
const FME_UInt32  secondsFromNow,
const IFMEServerStringArray directives,
FME_Int32 &  jobID 
) [pure virtual]

Schedule a job to be run at the specified time.

Parameters:
subsectionname to be used for this request.
requestA valid FME request with mapping file or workspace.
secondsFromNowNumber of seconds from the current time that the job should be scheduled to run.
directivesName and value pairs used to specify additional request directives such as priority.
jobIDThe job ID of the scheduled job.
Deprecated:
Replaced by scheduleJob(IFMEServerTransformationRequest&,const FME_UInt32, FME_Int32&)
virtual IFMEServerStatus* IFMEServerTransformationManager::scheduleJob ( IFMEServerTransformationRequest request,
const FME_UInt32  secondsFromNow,
FME_Int32 &  jobID 
) [pure virtual]

Schedule a job to be run at the specified time.

Parameters:
requestA valid IFMEServerTransformationRequest containing the details of the requested transformation.
jobIDThe job ID of the scheduled job.
virtual IFMEServerStatus* IFMEServerTransformationManager::submitJob ( IFMEServerTransformationRequest request,
FME_Int32 &  jobID 
) [pure virtual]

Asynchronously submit a transformation request. The request is added to the queue and a job id is returned. This job can then be accessed on the FME Server via the job ID.

Parameters:
requestA valid IFMEServerTransformationRequest containing the details of the requested transformation.
jobIDThe job ID of the submitted job.
virtual IFMEServerStatus* IFMEServerTransformationManager::submitJob ( const IFMEServerString subsectionName,
const IFMEServerString request,
const IFMEServerStringArray directives,
FME_Int32 &  jobID 
) [pure virtual]

Asynchronously submit a transformation request. The request is added to the queue and a job id is returned. This job can then be accessed on the FME Server via the job ID.

Parameters:
subsectionname to be used for this request.
requestIFMEServerString& A valid FME request with mapping file or workspace.
directivesName and value pairs used to specify additional request directives such as priority.
jobIDThe job ID of the submitted job.
Deprecated:
Replaced by submitJob(IFMEServerTransformationRequest&, FME_Int32&)
virtual IFMEServerStatus* IFMEServerTransformationManager::transactJob ( const IFMEServerString subsectionName,
const IFMEServerString request,
const IFMEServerStringArray directives,
IFMEServerString fmeServerResponse 
) [pure virtual]

Perform a synchronous transformation transaction with the connected FME Server. This method will block until results are delivered. A free port will be dynamically determined for result delivery. If you need to specify a particular port to be bound, specify requesterResultPort in parms.

Parameters:
subsectionname for this request.
requesta valid FME request with a mapping file or workspace.
directivesName and value pairs used to specify additional request directives such as priority.
fmeServerResponseThe FME Server response as a string.
Deprecated:
Replaced by transactJob(IFMEServerTransformationRequest&, IFMEServerTransformationResult&)
virtual IFMEServerStatus* IFMEServerTransformationManager::transactJob ( IFMEServerTransformationRequest request,
IFMEServerTransformationResult result 
) [pure virtual]

Perform a synchronous transformation transaction with the connected FME Server. This method will block until results are delivered. A free port will be dynamically determined for result delivery. If you need to specify a particular port to be bound, specify requesterResultPort in parms.

Parameters:
requestA valid IFMEServerTransformationRequest containing the details of the requested transformation.
resultAn IFMEServerTransformationResult object to hold the FME Server response.

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines