SPD_errorType

Purpose

Defines the set of possible values that are returned by calls to the Event Server API functions.

Syntax

public enum SPD_errorType : int
{
   SPD_normal,
   SPD_notInitialized,
   SPD_alreadyInitialized,
   SPD_versionMismatch,
   SPD_invalidType,
   SPD_commFailure,
   SPD_badTimer, 
   SPD_badFormat,
   SPD_badClass,
   SPD_badName,
   SPD_badApplication,
   SPD_badAlarmId,
   SPD_badAlarmQualifier,
   SPD_badType,
   SPD_badText,
   SPD_badAttribute,
   SPD_badValue,
   SPD_badFileName,
   SPD_badSeverity,
   SPD_badHost,
   SPD_badCommand,
   SPD_badAck,
   SPD_badStatus,
   SPD_badClientName,
   SPD_badCallback,
   SPD_badSubtype,
   SPD_badReservedValue,
   SPD_badTime
}

Description

SPD_normal

means that no error occurred.

SPD_notInitialized

means that the SPDInitClient function was not previously called.

SPD_alreadyInitialized

means that the SPDInitClient function has already been called.

SPD_versionMismatch

means that the client is linked with a version of the Event Server API that is incompatible with the Event Server included with the level of Operations Sentinel running on the Operations Sentinel server.

SPD_invalidType

means that an invalid type parameter was specified.

SPD_commFailure

means that a communications problem occurred.

SPD_badTimer

means that an invalid timer parameter was specified.

SPD_badFormat

means that an invalid event report format was specified.

SPD_badClass

means that an invalid objectClass parameter was specified.

SPD_badName

means that an invalid objectName parameter was specified.

SPD_badApplication

means that an invalid applicationName parameter was specified.

SPD_badAlarmId

means that an invalid alarmIdentifier parameter was specified.

SPD_badAlarmQualifier

means that an invalid alarmQualifier parameter was specified.

SPD_badType

means that an invalid type parameter was specified.

SPD_badText

means that an invalid message parameter was specified.

SPD_badAttribute

means that an invalid attrNames parameter was specified.

SPD_badValue

means that an invalid attrValues parameter was specified.

SPD_badFileName

means that an invalid logFileName parameter was specified.

SPD_badSeverity

means that an invalid severity parameter was specified.

SPD_badHost

means that an invalid hostName parameter was specified.

SPD_badCommand

means that an invalid command parameter was specified.

SPD_badCallback

means that an invalid callback parameter was specified.

SPD_badReservedValue

means that SPD_reservedValue was not specified as the reserved value.

SPD_badTime

means that an invalid senderTime attribute was specified.