API Guide
601355 Rev A API Functions 2-563
Functions
VSCMD_
Connect VSCMD_Connect associates a specified Internet address with
a specified enterprise identifier. After this association is
established, the client can listen for MediaClass callbacks and
VolServ statuses that are generated for that enterprise.
Any Internet address can be associated with more than one
enterprise identifier. In addition, there is no limit to the number
of Internet addresses that can be associated with any given
enterprise identifier.
When sending intermediate or final status to the client
associated with an enterprise, VolServ uses the enterprise
identifier to determine the address to use for the status. This is
done by matching the enterprise identifier passed in the request
with those in the internal table and using the associated address
information.
If an enterprise has multiple clients, each client is kept on a
receiving queue. If the first enterprise client cannot receive
status or MediaClass callback (because of an RPC error), the
next client in the queue is tried. This continues until a client
successfully receives the status/callback or until the receiving
queue is exhausted. If no client successfully receives the status,
it is logged and VolServ invokes its retry scheme. If no client
successfully receives a MediaClass callback, it is logged and
discarded.
There are two methods for scheduling status/callbacks to
enterprise clients:
Round Robin