|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Filtre, seg_057d4c
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Generic_Comm; with Std_Types; with Messages; with Message_Storage; with Text_Io; use Std_Types; procedure Filtre is Done : Boolean := False; Message : Messages.Obj_Msg; My_Bal : Message_Storage.Bal; Connection_Delay : Duration := 10.0; Try_Number : Positive := 1; package Comm is new Generic_Comm (Connection_Delay, Try_Number, My_Bal); Source_Id : Natural; begin Text_Io.Put_Line ("============== Filtre ===================="); Comm.Send (Registration, Rem_Host => Ficus, Rem_Socket => Orb_Socket, Msg => "**** Message from filter ***"); Source_Id := Comm.Get_Client_Id; Comm.Send (Filtration, Rem_Host => Ficus, Rem_Socket => Orb_Socket, Source => Source_Id); My_Bal.Get_Message (Message); loop My_Bal.Is_Empty (Done); while Done loop My_Bal.Is_Empty (Done); end loop; My_Bal.Get_Message (Message); if Messages.Get_Type_Msg (Message) = Forward then -- modifier le message Comm.Send (Forward, Rem_Host => Ficus, Rem_Socket => Orb_Socket, Source => Source_Id, Msg => "le message suivant a ete intercepte et modifie par un filtre :" & Ascii.Lf & String_Var_To_String (Messages.Get_Content (Message)), Target => Messages.Get_Target_Id (Message), Order => 0); Text_Io.Put_Line ("Le message a ete filtre puis retourne a l'orb"); end if; end loop; end Filtre;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=25 rec1=00 rec2=01 rec3=042 [0x01] rec0=15 rec1=00 rec2=02 rec3=000 tail 0x217651aa287d24697b234 0x42a00088462060003