Previous Table of Contents Next


15.4 GIOP Message Formats

   GIOP has restriction on client and server roles with respect to initiating and receiving messages. For the purpose of GIOP versions 1.0 and 1.1, a client is the agent that opens a connection (see more details in Section 15.5.1, “Connection Management,? on page 15-47) and originates requests. Likewise, for GIOP versions 1.0 and 1.1, a server is an agent that accepts connections and receives requests.When Bidirectional GIOP is in use for GIOP protocol version 1.2 and 1.3, either side may originate messages, as specified in Section 15.8, “Bi-Directional GIOP,? on page 15-56.

    GIOP message types are summarized in Table 15-3, which lists the message type names, whether the message is originated by client, server, or both, and the value used to identify the message type in GIOP message headers.

   Table 15-3 GIOP Message Types and Originators

Message Type

Originator

Value

GIOP Versions

Request Client 0 1.0, 1.1, 1.2, 1.3
Request Both 0 1.2 with BiDir GIOP in use, 1.3 with BiDir GIOP in use
Reply Server 1 1.0, 1.1, 1.2, 1.3
Reply Both 1 1.2 with BiDir GIOP in use, 1.3 with BiDir GIOP in use
CancelRequest Client 2 1.0, 1.1, 1.2, 1.3
CancelRequest Both 2 1.2 with BiDir GIOP in use, 1.3 with BiDir GIOP in use
LocateRequest Client 3 1.0, 1.1, 1.2, 1.3
LocateRequest Both 3 1.2 with BiDir GIOP in use, 1.3 with BiDir GIOP in use
LocateReply Server 4 1.0, 1.1, 1.2, 1.3
LocateReply Both 4 1.2 with BiDir GIOP in use, 1.3 with BiDir GIOP in use
CloseConnection Server 5 1.0, 1.1, 1.2, 1.3
CloseConnection Both 5 1.2, 1.3
MessageError Both 6 1.0, 1.1, 1.2, 1.3
Fragment Both 7 1.1, 1.2, 1.3