Registering the FunctionCall object with the IFX Manager

Each FunctionCall object registers itself with the IFX Manager as an interface that provides function call support.

In the FunctionCall class constructor, register the function call with the IFX Manager using the method registerInterface.
  • In the following example the FciFunctionCall constructor uses the registerInterface method to register itself with the IFX Manager as a FunctionCall object:
    
          public FciFunctionCall(IFX IFXMan) throws UWIException
          {
          FunctionCallManager theFCM;
             if ((theFCM = IFSSingleton.getFunctionCallManager()) == null) 
                throw new UWIException("Needed Function Call Manager");
             IFXMan.registerInterface(this, 
                FunctionCall.FUNCTIONCALL_INTERFACE_NAME,
                FunctionCall.FUNCTIONCALL_CURRENT_VERSION,
                FunctionCall.FUNCTIONCALL_MIN_VERSION_SUPPORTED, 
                0x01000300, 0, null, theFCM.getDefaultListener( ));
          }