IBM Information Integrator for Content V8.2 APIs

com.ibm.mm.sdk.common.infomining
Interface DKIKFServerTask

All Superinterfaces:
java.io.Serializable

public interface DKIKFServerTask
extends java.io.Serializable

A server task can be used to bundle a sequence of API calls, which can then be executed on the server. If you want to execute a defined sequence of API calls from a client application, you can bundle these calls in a server task by implementing the runServerTask method, send it across to the server once, and then call this server task as often as is needed from the client. This keeps the level of network traffic as low as possible and improves performance significantly.


Method Summary
 java.io.Serializable runServerTask(DKIKFService ikfService, java.io.Serializable argument)
          Implement this method to bundle API calls in a server task.
 

Method Detail

runServerTask

public java.io.Serializable runServerTask(DKIKFService ikfService,
                                          java.io.Serializable argument)
                                   throws DKIKFServerTaskException
Implement this method to bundle API calls in a server task.
Parameters:
ikfService - the server service
argument - contains parameters specified by the caller of the server task (depends on implementation)
Returns:
the result of the server task (depends on implementation)
Throws:
DKIKFServerTaskException - if the implementation of this method throws it.
See Also:
DKIKFServiceFed.setServerTask(DKIKFServerTask), DKIKFServiceFed.getServerTask(), DKIKFServiceFed.runServerTask(Serializable)

IBM Information Integrator for Content V8.2 APIs

© Copyright International Business Machines Corporation 1996, 2003 IBM Corp. All rights reserved.