DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦39cb84365⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_0217c7

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



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;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=19 rec1=00 rec2=01 rec3=046
        [0x01] rec0=00 rec1=00 rec2=04 rec3=008
        [0x02] rec0=20 rec1=00 rec2=02 rec3=044
        [0x03] rec0=08 rec1=00 rec2=03 rec3=001
    tail 0x2171d7f92838e77e24f2a 0x489e0066482863c01