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

⟦883a5f9f2⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Message, seg_052ec5

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 Transport_Defs;  
with Byte_Defs;
with Utils;  
with Bounded_String;
with Text_Io;

package Message is

    subtype My_String is Bounded_String.Variable_String (255);
    type Object is private;  
    type Kind_Of_Message is (Registration, Unregistration, Request,
                             Forward, Publication, Unpublication,
                             Subscription, Unsubscription, Filtration,
                             Unfiltration, Reply, Reply_Error, Content);
    function Initialize (Op : Kind_Of_Message;
                         L_S : Transport_Defs.Socket_Id;  
                         R_S : Transport_Defs.Socket_Id;
                         R_H : My_String;
                         Jo : Positive;
                         Com : My_String) return Object;
    function Record_To_String (Mess : Object) return My_String;
    function String_To_Record (Mess : My_String) return Object;  
    package Kind_Of_Mess_Io is new Text_Io.Enumeration_Io (Kind_Of_Message);

private

    Msg_Null : constant String := "";
    type Object is
        record
            Operation : Kind_Of_Message;
            Local_Socket : Transport_Defs.Socket_Id (1 .. 4);
--:= (2, 6, 1, 1);
            Remote_Socket : Transport_Defs.Socket_Id (1 .. 4);
-- :=  Transport_Defs.Null_Socket_Id;
            Remote_Host : My_String;
--:= "ancolie";
            Job : Positive;
            Comment : My_String;
--:= Msg_Null;
        end record;

end Message;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=18 rec1=00 rec2=01 rec3=074
        [0x01] rec0=14 rec1=00 rec2=02 rec3=001
    tail 0x2175a8d2e87a7795aab3c 0x42a00088462060003