Command Callback

Purpose

Called when a client receives a command acknowledgment. This callback is optionally registered on the SPDCommand function (see Section 6.4). This callback is used since the command may or may not be submitted to the host system by the Event Server. The Event Server asynchronously returns a command status to the client using this callback.

Syntax

public delegate void SPD_commandCallback
(
   string hostClass,
   string host,
   string command,
   object reservedValue,
   SPD_commandStatusType status,
   object passback
)

Description

hostClass

is the value for the objectClass parameter that you specified on the call to SPDCommand.

host

is the value for the objectName parameter that you specified on the call to SPDCommand.

command

is the value for the command parameter that you specified on the call to SPDCommand.

reservedValue

is provided for future use and is always set to SPD_reservedValue.

status

is the status indicating what happened when the Event Server tried to submit the command to the host.

passback

is the value for the passback parameter that you specified on the call to SPDCommand.