DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦1e2708b5a⟧ TextFile

    Length: 2123 (0x84b)
    Types: TextFile
    Names: »V«

Derivation

└─⟦bad92a95e⟧ Bits:30000535 8mm tape, Rational 1000, RPC 1_0_2
    └─ ⟦bb34fe6e2⟧ »DATA« 
        └─⟦15d8b76c6⟧ 
            └─⟦this⟧ 

TextFile

with Rpc;
with Transport_Defs;
with Transport_Stream;

package Rpc_Client is

    generic
        Default_Network : Transport_Defs.Network_Name;
        Default_Host : Transport_Defs.Host_Id;
        Default_Socket : Transport_Defs.Socket_Id;
        Default_Program : Rpc.Program_Number;
        Default_Version : Rpc.Version_Number;

    procedure Start_Request_Generic
                 (Stream : out Transport_Stream.Stream_Id;
                  Proc : Rpc.Procedure_Number;
                  Network : Transport_Defs.Network_Name := Default_Network;
                  Host : Transport_Defs.Host_Id := Default_Host;
                  Socket : Transport_Defs.Socket_Id := Default_Socket;
                  Program : Rpc.Program_Number := Default_Program;
                  Version : Rpc.Version_Number := Default_Version);

    -- Allocate a stream from the pool.  Transmit a call message
    -- header with the given program, version, and proc values.


    -- The following procedure is defunct: it is here for
    -- backward-compatibility.  Use the previous procedure.

    generic
        Pool : in out Transport_Stream.Pool_Id;
        Program : Rpc.Program_Number;
        Version : Rpc.Version_Number;

    procedure Begin_Request_Generic (Stream : out Transport_Stream.Stream_Id;
                                     Proc : Rpc.Procedure_Number);

    -- Allocate a stream from the pool.  Transmit a call message
    -- header with the given program, version, and proc values.


    procedure End_Request (Stream : Transport_Stream.Stream_Id);

    -- Flush the transmit buffer.  Get the response header.
    -- If it is not OK, deallocate the stream.


    procedure End_Response (Stream : Transport_Stream.Stream_Id);

    -- Deallocate the stream.


    generic
        with procedure Raise_Exception (Excep : Rpc.Exception_Number);

    procedure End_Request_With_Exception (Stream : Transport_Stream.Stream_Id);

    -- Like End_Request (above), except that it also checks
    -- for a server-defined exception, and, if there is one,
    -- raises it (using the Raise_Exception procedure).


end Rpc_Client;