Previous Table of Contents Next


16.4.4 DCE-CIOP Locate Response Message


   Locate response messages are sent from servers to clients as the response_message parameter of a locate RPC. They consist of a fixed-format header, and a body whose format depends on information in the header.

   16.4.4.1 Locate Response Header

   DCE-CIOP locate response headers have the following format:

   module DCE_CIOP { // IDL

   enum LocateResponseStatus { LOCATE_UNKNOWN_OBJECT, LOCATE_OBJECT_HERE, LOCATE_LOCATION_FORWARD, LOCATE_TRY_AGAIN

   };

   struct LocateResponseHeader { boolean byte_order; LocateResponseStatus status;

   // if status = LOCATE_LOCATION_FORWARD, an // IOP::IOR follows }; };

   The members have the following definitions:

   16.4.4.2 Locate Response Body

   The contents of the locate response body depends on the value of the status member of the locate response header. Its format is one of the following: