API Guide
1-28 Getting Started 601355 Rev A
Processing The VolServ API allows for both asynchronous and
synchronous processing of VolServ commands.
Asynchronous For asynchronous processing, the VolServ API returns control
to the client after initial status is received.
To receive subsequent status from VolServ API, the client
invokes the VolServ APIs VS_Select function. It is the
responsibility of the client to place the VolServ API into its
select loop so all subsequent statuses can be received. In
asynchronous processing, the client can issue multiple VolServ
commands and immediately receive their statuses.
VSCMD_
cmd
VS_Select Volu me
VS_CallBack
1
2
3
6
4
57
8
Server
1. Client Program calls the command function (VSCMD_cmd).
2. The VSCMD_cmd calls the Volume Server.
3. VolServ returns initial status to VSCMD_cmd.
4. VSCMD_cmd returns control to the Client Program.
5. The Client Program calls the VS_Select loop to wait for status.
6. VS_Select calls the command specific VS_CallBack.
7. VS_CallBack returns status to the VS_Select.
8. VS_Select returns status to the Client Program.
Client
Program