Tivoli Connection Guide and Reference


VisualAge ManageWare for Tivoli Event Components

The following VisualAge for Smalltalk interfaces to the TECEIF DLL have been defined to allow the following events can be sent from your program:

Note:The path to the configuration file is assumed to be the same as the event DLL, TECEIF.DLL.

The installation program will put the configuration file (TECEIF.CFG) and the event DLL (TECEIF.DLL) in your root VisualAge directory.

Initialize Tivoli Event DLL

ClassName: TivInitTamEvents

Message interface: tvInitTamEvents: source with: subSource

This event is issued once by your application to initialize the event DLL.

The source is the application name.

The subSource is the application component name that generates this event.

Application Startup Event

This event should be sent during program startup.

tvSendStartupEvent: aString

Where aString is a String Object with an appropriate message.

Application Idle Event

This event is sent when the program enters an extended period of inactivity and could be a security problem.

tvSendIdleEvent: aString 

Where aString is a String Object with an appropriate message

Application Error Event

This event is sent when a critical application error occurs.

tvSendApplicationError: errorNum with: errorString

Where errorNum is an error number and errorString is an appropriate error message string.

Application Send Event

The following would be used to send any generic event through the TECEIF interface.

tecTvSendEvent

See the sample code for detail

Application Close Event

This event should be sent during program shutdown

tvSendShutdownEvent: aString 

Where aString is a String Object with an appropriate message.

This message will also generate a tvTecClose event to shutdown TECEIF.

SQL Error

This event is sent when an application has an error interfacing with an SQL database. You may not have information for some of the database fields. You should supply an empty string in these situations.

tvSendSQLError: anArray

Where anArray is an Array object that contains:


[ Top of Page | Previous Page | Next Page | Table of Contents ]