|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Rs6000_Server, seg_01688e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with System_Interface; with Text_Io; with Transport_Interchange; with Unix_Base_Types; with System; package body Rs6000_Server is -- procedure Write_String_C -- (C_Message : System.Address; C_Tty : System.Address); -- pragma Interface (C, Write_String_C); -- pragma Interface_Information (Write_String_C, ".write_string"); procedure Process_Call (Stream : Transport_Stream.Stream_Id; Id : Rpc.Transaction_Id; Version : Rpc.Version_Number; Proc : Rpc.Procedure_Number) is begin case Proc is when Rpc_Defs.Proc_Number.Put => Text_Io.Put_Line (Transport_Interchange.Get_String (Stream)); Text_Io.Put_Line (Transport_Interchange.Get_String (Stream)); Text_Io.Put_Line (Transport_Interchange.Get_String (Stream)); -- declare -- C_Message : constant String := -- Transport_Interchange.Get_String (Stream) & Ascii.Nul; -- C_Tty : constant String := -- Transport_Interchange.Get_String (Stream) & Ascii.Nul; -- begin -- Write_String_C (C_Message => -- C_Message (C_Message'First)'Address, -- C_Tty => C_Tty (C_Tty'First)'Address); -- end; -- Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Create => Text_Io.Put_Line (Transport_Interchange.Get_String (Stream)); Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Close => Text_Io.Put_Line (Transport_Interchange.Get_String (Stream)); Rpc_Server.Begin_Response (Stream, Id); when others => raise Rpc.No_Such_Procedure; end case; end Process_Call; procedure Serve_Gets is new Rpc_Server.Serve (Program => Rpc_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 Rs6000_Server;
nblk1=4 nid=4 hdr6=6 [0x00] rec0=1c rec1=00 rec2=01 rec3=040 [0x01] rec0=12 rec1=00 rec2=02 rec3=030 [0x02] rec0=10 rec1=00 rec2=03 rec3=000 [0x03] rec0=00 rec1=f1 rec2=da rec3=642 tail 0x21512250e83364876f489 0x42a00088462060003 Free Block Chain: 0x4: 0000 00 00 00 56 80 1b 74 72 69 6e 67 20 28 53 74 72 ┆ V tring (Str┆