Instance PerClient

Hello,

In version Trial in class TROPerClientClassFactory existed 2 methods Create where one of methods don’t is necessary the parameter aTimeoutSeconds, but in version 9.2.101.1295 exists 1 method where is requered the parameter aTimeoutSeconds.

Exists other form of disable timeout on create the instance of TROPerClientClassFactory ?

looks like you have seen ancestor method in TROClassFactory.Create:

  TROClassFactory = class(TInterfacedObject, IROClassFactory, IROClassFactory_ZeroConfig)
...
    constructor Create(const anInterfaceName: string;
      aCreatorFunc: TRORemotableCreatorFunc;
      anInvokerClass: TROInvokerClass);

you need to use this one:

  TROPerClientClassFactory = class(TROClassFactory, IROPerClientClassFactory)
...
    constructor Create(const anInterfaceName : string;
                       aCreatorFunc : TRORemotableCreatorFunc;
                       anInvokerClass : TROInvokerClass;
                       aTimeoutSeconds:cardinal);

OK, is possible disable the timeout ? or not ?

you can specify Timeout as Cardinal(-1) so it will live for 136 years

Thank you.