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: ┃ B T

⟦02a31ecbb⟧ TextFile

    Length: 1354 (0x54a)
    Types: TextFile
    Names: »B«

Derivation

└─⟦5f3412b64⟧ Bits:30000745 8mm tape, Rational 1000, ENVIRONMENT 12_6_5 TOOLS 
    └─ ⟦91c658230⟧ »DATA« 
        └─⟦458657fb6⟧ 
            └─⟦a5bbbb819⟧ 
                └─⟦this⟧ 
└─⟦d10a02448⟧ Bits:30000409 8mm tape, Rational 1000, ENVIRONMENT, D_12_7_3
    └─ ⟦fc9b38f02⟧ »DATA« 
        └─⟦9b46a407a⟧ 
            └─⟦eec0a994f⟧ 
                └─⟦this⟧ 

TextFile

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;