Procedure 17

Read Class

capability

 

resource name length

 

resource name

 

register name length

 

register name

 

REQUEST

If the register specified is known by the server for the resource specified and the access capability is valid the class name associated with the register, as defined in Procedure 3, is returned.

success = 0

class name length

 

class name

 

RESPONSE - success

Class name length is a 4 byte field which defines the length of the following class name in bytes.

Class name contains the data component of the class. Data in this field conforms to the XDR standard for the particular data type.

procedure status

RESPONSE - failure

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

1

invalid resource

3

capability invalid

4

register not known

procedure status

XDR Specification

procedure   ReadClass (cap, res, reg)   returns(reply)
            capability    cap;
            resource    res;
            register    reg;

            union switch (stat status)  {
                OK:
                registerclass    v;
                default:
                struct   {}
            }  reply;

Implementation

N.B. This procedure is provided from version 2 of the protocol.