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

⟦d9fff302c⟧ Ada Source

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

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 Message;
with Message_Transport;
with Text_Io;

use Text_Io;
package body Message_Server_Test is

    procedure Process_Message (M : String);


    Mes : Message.Object;


    procedure Register (Host : String;
                        Local_Socket : Message_Transport.Socket) is
    begin
        null;
    end Register;


    procedure Nothing is
    begin
        null;
    end Nothing;


    function Nothing (M : String) return Boolean is
    begin
        return True;
    end Nothing;


    procedure Transport_Start is
       new Message_Transport.Start_Server (Register_Service => Register,
                                           Service_Identified => Nothing,
                                           Ready_To_Receive => Nothing,
                                           Receive_Callback => Process_Message);

    procedure Start is
    begin
        Transport_Start (Local_Socket => 2605,
                         Buffer_Size => 1024,
                         Wait_For_Identification => False);
    end Start;


    procedure Process_Message (M : String) is
    begin
        Mes := Message.Value (M);
        Put_Line (Message.Image (Mes));
    end Process_Message;


end Message_Server_Test;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2b rec1=00 rec2=01 rec3=028
        [0x01] rec0=0d rec1=00 rec2=02 rec3=001
    tail 0x217244fe683ec56733151 0x42a00088462060003