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

⟦fe00b015c⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Transport_Server_Job, seg_0009da

Derivation

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

E3 Source Code



with Default;  
with Program;  
with Rpc;  
with Scheduler;  
with Simple_Status;  
with System;  
with Transport_Server_Proc;

package body Transport_Server_Job is

    procedure Server_Generic is  
        Must_Wait : Boolean;  
        Not_Used : Integer := 0;  
        Connection : Transport.Connection_Id;  
        procedure Fork (Not_Used : in out Integer;  
                        Connection : Transport.Connection_Id) is  
        begin  
            Server_Start;  
            Serve (Connection);  
        end Fork;  
        procedure Serve is new Transport_Server_Proc (Integer, Fork);  
    begin  
        Scheduler.Set_Job_Attribute (Default.Job, "Kind", "Server");  
        Serve (Not_Used, Connection, Network, Local_Socket);  
    end Server_Generic;

    procedure Change_Identity (Username, Password : String) is  
        Status : Program.Condition;  
    begin  
        if Username = "" and then Password = "" then  
            Program.Change_Identity (Options => "Restore_Identity",  
                                     Status => Status);  
        else  
            Program.Change_Identity (Username, Password, Status => Status);  
        end if;  
        if Simple_Status.Error (Status) then  
            raise Rpc.Username_Or_Password_Error;  
        end if;  
    end Change_Identity;

end Transport_Server_Job;  

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=012
        [0x01] rec0=0b rec1=00 rec2=02 rec3=000
    tail 0x20500171a7bac64c6b18e 0x42a00088462060003