Previous Topic: Program the UniversalHelpDesk.jar FileNext Topic: Void HDUninitialize Routine


int HDInitialize Routine

This routine is called when the SA Manager starts and should contain any initialization required such as binding to a web service through the SOAP API and initializing memory. It should return a zero if the initialization was successful and non-zero if it was unsuccessful. If the routine returns a non-zero value, the HDGetError routine is called to obtain the error text.

Code this routine as follows:

int HDInitialize (Map<CONNECTINFO, String> connectInfo)

CONNECTINFO is the following enum:

public static enum CONNECTINFO
{
       TYPE, SERVER, PORT, USER, PASSWORD, 
       SSL, CLEARTICKET, CLEARALARM, POLL, POLLINTERVAL,
       TICKETSTATUS
}