[Package Index] [Index] [Users' Guide] [SVAPI Home Page]

Interface COM.novell.SVAPI.EngineNotify

public interface EngineNotify extends Remote

The EngineNotify interface must be implemented by every application. This object provides the callbacks for common functionality.

See Also: Engine


Method Index

asynchronousException(Engine, Throwable)
Signals that an exception occured while performing an asynchronous function.
getDataStore()
Gets the application's DataStore object.
requestDisposal(Engine, Model[])
Requests that a set of models be disposed.
requestDisposal(Engine, Utterance[])
Requests that a set of utterances be disposed.


Methods



getDataStore

public abstract DataStore getDataStore()
Gets the application's DataStore object. The engine uses this object to store its models. An application must implement this function, but it can use the MemoryDataStore object as its implementation.
Exception:
See Also: MemoryDataStore


requestDisposal

public abstract boolean requestDisposal(Engine Engine, Model Models[])
Requests that a set of models be disposed. An engine may call this if it is running out of memory, or is approaching a limit on the number of models that it can have instantiated at a given time. The models specified are hints. The application can choose to dispose those models, any other models, or to not dispose any models at all. Returns true if one or more models were disposed
Parameters:
Exception:
See Also: dispose


requestDisposal

public abstract boolean requestDisposal(Engine Engine, Utterance Utterances[])
Requests that a set of utterances be disposed. An engine may call this if it is running out of memory, or is approaching a limit on the number of utterances that it can have at a given time. The utterances specified are hints. The application can choose to dispose those utterances, any other utterances, or to not dispose any utterances at all. This function returns true if one or more utterances were disposed.
Parameters:
Exception:
See Also: dispose


asynchronousException

public abstract void asynchronousException(Engine Engine, Throwable Error)
Signals that an exception occured while performing an asynchronous function.
Parameters:
Exception:
See Also: enableAsynchronousVerification, enableAsynchronousIdentification, enableAsynchronousClassification


[Package Index] [Index] [Users' Guide] [SVAPI Home Page]

rwille@novell.com