[KPvm-Demo-suJOIN Index] [KPvm-Demo-suJOIN Hierarchy] [Headers]
is the main pvm-class. More...
#include <sujoin.h>
Inherits: KPvm (Kpvm)
SuKPvm is the main pvm-class. It inherits from KPvm.
[public]
It is distincted between parent- and child part. The parent sends tuples of PrincipeActif and BelongsTo to his spawned children, which the children receive and process.
[private]
computes hash-function from given hash-value, is needed to distribute objects.
[private]
creates the lcd-counters and button
[private]
sends all PrincipeActif tuples to the children, distributed to the several children with hash method.
[private]
sends all BelongsTo tuples to the children, distributed to the several children with hash method.
[private]
Filehandles for result of join.
[private]
TextStream.for for reading and writing on filehandle.
[private]
needed to end all children correctly.
[private slot]
is a CHILD-SLOT for the dataReceived-SIGNAL. It receives the Pricipe_ Actif-tuples and builds the local hash-table.
When finished - got object of class TransferComplete -, it disconnects the dataReceived-SIGNAL to connect it with childHandleRecvBt to be able to receive BelongsTo tuples.
[private slot]
is a CHILD-SLOT for the dataReceived-SIGNAL. It receives the BelongsTo tuples and probes them against the local hash-table.
In case of a match it sends the the correspondig JoinRes tuple back to parent.
[private slot]
is the PARENT-SLOT for the dataReceived-SIGNAL. Is is connected with the signal after the PrincipeActif tuples have been sent but before the parent starts to send the BelongsTo tuples.
It receives the JoinRes tuples and stores them on harddisk.
| Kdoc |