Tymeac Start Up Functions

This list is similar to the User Exits. It is in either the User Variables Class or the Configuration File.

divider.gif (931 bytes)

Start Up Functions

The start up functions are a way to execute custom code when Tymeac starts. The start up classes do not have full access to the Tymeac Server since the start up classes execute before the Tymeac Server is fully available.

You specify the Tymeac Functions you wish to execute at Tymeac Start Up in either the Configuration Data (preferences or file) or the User Variables. Tymeac Start Up calls your functions in the order presented therein.

The start up functions execute at the completion of the Tymeac Server start up. Therefore, the com.tymeac.base.TymeacInfo Singleton class is fully available here. Tymeac uses an asyncRequest() for each Function name in the list. The parameters for the com.tymeac.base.TymeacParm object are as follows:

TymeacParm(   null,                           // no input object,
                         startup_function[i],   // each function
                         0,                             // no wait time seconds,
                          0,                            // no milliseconds wait time,
                         1,                            // priority 1);

The start up functions run in a separate thread (see thread naming) than the main Server therefore, they cannot interfere with normal operations.

The full Tymeac Server is available at this time.

No guarantees:

The Tymeac Server environment is available to all clients. There is no way to guarantee that these functions will execute before any outside client makes a request.

Start up does not get the return data from the asyncRequest() therefore, there is no checking that the Function exists.

 

 

© 1998 - 2004 Cooperative Software Systems, Inc.  All rights reserved.