|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 7168 (0x1c00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_04ad1f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
WITH Transport;
WITH Date_Defs;
WITH Interchange;
WITH Net_Info;
WITH Rpc;
WITH Rpc_Client;
WITH Rpc_Server;
WITH Transport_Date;
WITH Transport_Defs;
WITH Transport_Interchange;
WITH Transport_Stream;
WITH Text_Io;
PACKAGE BODY Date_Broker_Work IS
Remote_Host : CONSTANT Transport_Defs.Host_Id := Net_Info.Belladone_Address;
Remote_Socket : CONSTANT Transport_Defs.Socket_Id := Net_Info.Rs6000_Socket;
PROCEDURE Start_Request IS
NEW Rpc_Client.Start_Request_Generic
(Default_Network => Date_Defs.Network,
Default_Host => Remote_Host,
Default_Socket => Remote_Socket,
Default_Program => Date_Defs.Program,
Default_Version => Date_Defs.Version);
PROCEDURE Process_Call (Stream : Transport_Stream.Stream_Id;
Id : Rpc.Transaction_Id;
Version : Rpc.Version_Number;
Proc : Rpc.Procedure_Number) IS
BEGIN
DECLARE
TYPE Tab_Stream IS ARRAY (1 .. 10) OF Transport_Stream.Stream_Id;
T_Stream : Tab_Stream;
BEGIN
CASE Proc IS
WHEN Date_Defs.Proc_Number.Date =>
DECLARE
Answer : String (1 .. 28);
Date : CONSTANT String := "date";
Streamr : Transport_Stream.Stream_Id;
BEGIN
T_Stream (T_Stream'First) := Stream;
Start_Request (Stream => Streamr,
Proc => Date_Defs.Proc_Number.Date);
Transport_Date.Put (Streamr, "date");
Rpc_Client.End_Request (Streamr);
Transport_Date.Get (Streamr, Answer);
Rpc_Client.End_Response (Streamr);
Text_Io.Put_Line (Answer);
Rpc_Server.Begin_Response (T_Stream (T_Stream'First), Id);
Transport_Date.Put (T_Stream (T_Stream'First), Answer);
END;
WHEN OTHERS =>
RAISE Rpc.No_Such_Procedure;
END CASE;
END;
END Process_Call;
PROCEDURE Serve_Gets IS NEW Rpc_Server.Serve
(Program => Date_Defs.Program,
Supported => (0, Rpc.Version_Number'Last),
Process_Call => Process_Call);
PROCEDURE Serve (Connection : Transport.Connection_Id) IS
BEGIN
Serve_Gets (Connection);
END Serve;
END Date_Broker_Work;
nblk1=6
nid=4
hdr6=6
[0x00] rec0=22 rec1=00 rec2=01 rec3=03a
[0x01] rec0=1a rec1=00 rec2=02 rec3=08c
[0x02] rec0=16 rec1=00 rec2=05 rec3=000
[0x03] rec0=05 rec1=00 rec2=05 rec3=000
[0x04] rec0=07 rec1=00 rec2=06 rec3=000
[0x05] rec0=07 rec1=00 rec2=06 rec3=000
tail 0x21547f7868676429c7f48 0x489e0066482863c01
Free Block Chain:
0x4: 0000 00 06 03 fc 80 11 69 74 65 64 5f 53 74 72 69 6e ┆ ited_Strin┆
0x6: 0000 00 03 00 6c 80 0c 63 74 69 6f 6e 5f 49 64 29 20 ┆ l ction_Id) ┆
0x3: 0000 00 00 00 0f 80 0c 20 4e 75 6d 62 65 72 29 20 52 ┆ Number) R┆