ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
Getting Started
1-19
Gett
ing Star
te
d
Dispatch
Routines
Routines
Dispatch routines are functions within the client software that
the API automatically calls when status messages or
MediaClass callbacks are received from VolServ. The dispatch
routine for MediaClass callbacks (also referred to as
notifications) is described on the man page for
the API automatically calls when status messages or
MediaClass callbacks are received from VolServ. The dispatch
routine for MediaClass callbacks (also referred to as
notifications) is described on the man page for
VS_Notify_SetFields(l)
.
Dispatch routines for status messages are set for all requests
with the
with the
VS_Global_SetFields()
call, for all requests of a
given type with the
VSCMD_
request
_SetDefaults()
call, or as
part of the call that sends the VolServ request.
Dispatch routines are prototyped as follows:
•
void dispatchroutine(
VST_COMMAND_HANDLE
handle)
The dispatch routine takes one argument. This is the command
handle for the request that received status.
handle for the request that received status.