com.simba.dsi.core.interfaces
Enum IEventHandler.EventID

java.lang.Object
  extended by java.lang.Enum<IEventHandler.EventID>
      extended by com.simba.dsi.core.interfaces.IEventHandler.EventID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IEventHandler.EventID>
Enclosing interface:
IEventHandler

public static enum IEventHandler.EventID
extends java.lang.Enum<IEventHandler.EventID>


Enum Constant Summary
EVENT_END_ODBC_FUNCTION
          Triggered right before an ODBC API function returns.
EVENT_START_CONNECTION_FUNCTION
          Triggered once before the first time an IConnection has any methods called on it within the context of a single ODBC API function.
EVENT_START_ENVIRONMENT_FUNCTION
          Triggered once before the first time an IEnvironment has any methods called on it within the context of a single ODBC API function.
EVENT_START_STATEMENT_FUNCTION
          Triggered once before the first time an IStatement has any methods called on it within the context of a single ODBC API function.
EVENT_THREAD_FINISH
           
EVENT_THREAD_START
          The following two are only triggered for worker threads in the server component.
 
Method Summary
static IEventHandler.EventID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IEventHandler.EventID[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EVENT_THREAD_START

public static final IEventHandler.EventID EVENT_THREAD_START
The following two are only triggered for worker threads in the server component. NULL will be passed in as the second parameter.


EVENT_THREAD_FINISH

public static final IEventHandler.EventID EVENT_THREAD_FINISH

EVENT_START_ENVIRONMENT_FUNCTION

public static final IEventHandler.EventID EVENT_START_ENVIRONMENT_FUNCTION
Triggered once before the first time an IEnvironment has any methods called on it within the context of a single ODBC API function. The IEnvironment which might have methods called on it will be passed in as the second parameter.


EVENT_START_CONNECTION_FUNCTION

public static final IEventHandler.EventID EVENT_START_CONNECTION_FUNCTION
Triggered once before the first time an IConnection has any methods called on it within the context of a single ODBC API function. The IConnection which might have methods called on it will be passed in as the second parameter.


EVENT_START_STATEMENT_FUNCTION

public static final IEventHandler.EventID EVENT_START_STATEMENT_FUNCTION
Triggered once before the first time an IStatement has any methods called on it within the context of a single ODBC API function. The IStatement which might have methods called on it will be passed in as the second parameter.


EVENT_END_ODBC_FUNCTION

public static final IEventHandler.EventID EVENT_END_ODBC_FUNCTION
Triggered right before an ODBC API function returns. The SQL_API_ macro corresponding to the function about to return will be passed in as the second parameter (as a simba_unsigned_native). See documentation for SQLGetFunctions() for more details about the SQL_API_ macros.

Method Detail

values

public static IEventHandler.EventID[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IEventHandler.EventID c : IEventHandler.EventID.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IEventHandler.EventID valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.