Distributed simulation
On TOMASWEB a client/server concept for distributed simulation is
developed based on standard TCP/IP communication (all according to
Delphi components developed by
F.Piette). The server mechanism "TomasServer" takes care of
synchronization of separately designed models. In fact TomasServer
is a sequencing mechanism itself. Models are clients to the server
and ask permission for each event.
The synchronization is completely transparent for the user. If a
server address is specified, the model is considered a distributed
model, if not, the model is considered stand alone.
By the same mechanism models can communicate with each other for
example to generate events in other models. Messages are always
plain strings.
By keeping the messaging mechanism simple and straightforward, a
reasonable speed could be maintained with maximum flexibility.
See the lock example on the examples page for further explanation.