ADIC Digital Camera 601355 Rev A 사용자 설명서

다운로드
페이지 1192
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
Volume 
VS_CallBack
1
2
3
6
4
5
7
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