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

⟦09cd825bb⟧ Ada Source

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

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 Var_String;
with Agent_Nb;

package Message is
    type Class_Message is (Registration, Unregistration, Request, Forward,
                           Replay, Publication, Unpublication, Subscription,
                           Unsubscription, Filtration, Unfiltration, Error);
    type Object is private;

    function Create (Class : in Class_Message;
                     Source : in Agent_Nb.T_Agent_Nb;
                     Destination : in Agent_Nb.T_Agent_Nb;
                     Donnees : in Var_String.V_String) return Object;

    function Get_Class (Message : in Object) return Class_Message;

    function Get_Source (Message : in Object) return Agent_Nb.T_Agent_Nb;

    function Get_Destination (Message : in Object) return Agent_Nb.T_Agent_Nb;

    function Get_Donnees (Message : in Object) return Var_String.V_String;

    procedure Set_Class (Message : in out Object; Class : in Class_Message);

    procedure Set_Source (Message : in out Object;
                          Source : in Agent_Nb.T_Agent_Nb);

    procedure Set_Destination (Message : in out Object;
                               Destination : in Agent_Nb.T_Agent_Nb);

    procedure Set_Donnees (Message : in out Object;
                           Donnees : in Var_String.V_String);

    function Image (Message : in Object) return Var_String.V_String;

    function Value (Message : in Var_String.V_String) return Object;

private
    type Object is
        record
            Class : Class_Message;
            Source : Agent_Nb.T_Agent_Nb;
            Destination : Agent_Nb.T_Agent_Nb;
            Donnees : Var_String.V_String;
        end record;
end Message;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=060
        [0x01] rec0=17 rec1=00 rec2=02 rec3=001
    tail 0x2176596a487e2a40b8926 0x42a00088462060003