IRODestructorController

Overview

IRODestructorController is an interface that can be implemented in your service class to control the behavior of the TROPerClientClassFactory class.

Use Case

By default, TROPerClientClassFactory only destroys your service class on timeout. By implementing this interface, you can control the destruction of a service in your code by changing the value that is returned in the CanBeDestroyed function.

Location

Required Methods


CanBeDestroyed

Whenever TROPerClientClassFactory.ReleaseInstance is called, it will use the result of this function to determine if a service can be destroyed.

function CanBeDestroyed: boolean

Descendants