Procedure 1

Claim Resource

resource name length

 

resource name

 

REQUEST

Allocates the specified resource for exclusive use of the client.
The available resources will be dependant on the specific server and its supported applications.

success = 0

capability

 

RESPONSE - success

The response returns a 8 byte (64 bit) capability which is an opaque field generated by the server and used by the client as an access token in subsequent procedure requests for the allocated resource.

procedure status

RESPONSE - failure

procedure status which is non zero indicates the cause of the failure.

1

invalid resource

2

resource already in use

procedure status

XDR Specification

procedure   ClaimResource (res)   returns(reply)
            resource    res;

            union switch (stat status)  {
                OK:
                capability    res;
                default:
                struct   {}
            }  reply;

Implementation

This procedure is provided in versions 1 and 2 of the protocol.