CubeEngineConfig

Updated at:

The CubeEngineConfig class provides methods to configure the card engine, including resource paths, exception listeners, image handlers, and RPC handlers.

Introduction

Initializes and configures the card engine.

Methods

getResourcePath

/**
 * Gets the path of the local resource plan.
 * @return
 */
public String getResourcePath()

setResourcePath

/**
 * Sets the path of the local resource plan.
 * @param resourcePath
 */
public void setResourcePath(String resourcePath)

getExceptionListener

/**
 * Gets the exception listener.
 * @return
 */
public CExceptionListener getExceptionListener()

setExceptionListener

/**
 * Sets the exception listener.
 * @param exceptionListener
 */
public void setExceptionListener(CExceptionListener exceptionListener)

getImageHandler

/**
 * Gets the image handler.
 * @return
 */
public ICKImageHandler getImageHandler()

setImageHandler

/**
 * Sets the image handler. If this parameter is not set, a default internal implementation is used. Provide a custom implementation.
 * @param imageHandler
 */
public void setImageHandler(ICKImageHandler imageHandler)

setRpcHandler

/**
   * Sets a custom handler for RPC requests from the card.
   * @param handler
   * @returns 
   */
public void setRpcHandler(ICRpcHandler rpcHandler)