
[ Previous ] [ Index ] [ Next ]


In Habanero, we have an object called the arbitrator to make such decisions. If you look at the examples section below, you can see some of the different ways to use arbitrators.
Read the Limit Arbitrator pattern if you want to learn how to use this.
is an example of this.For example, if you have a joint web session, instead of each instead of each participant connecting separately to the web server, only the arbitrator connects to the server. The server will only see one client, the arbitrator.
Another similar situation is a joint telnet session. The arbitrator
makes the telnet connection to the remote host, and so that host only sees
one user attaching. The arbitrator takes care of forwarding all the characters
in the telnet session to and from the participants.
A special client
starts this tool and lets the user choose the voting criteria. The initial
instance of the voting tool sends this startup information to the voting
tool arbitrator, which sends out ballots to all participants based on that
start-up information. Then each participant fills out the ballot, and the
arbitrator collects that information. Finally, the arbitrator reports the
results to all the participants.Most hablets are based on replication. Each particpating hablet knows
the state of things. Habanero sends events to each instance of the hablet
and each instance updates itself. However, Habanero also supports a classic
client-server model as well as anything in between.
arbitrator sends out clock tick events to keep the simulation on each participant
in lock-step with each other. It then waits for an acknowledgement from
each participant before sending out the next tick to allow the participants
on slower machines to stay synchornized.
Habanero® is a registered trademark owned by The Board of Trustees of the University of Illinois. Copyright 1996-1998. All rights reserved. Java(TM) is a proprietary trademark owned by Sun Microsystems, Inc.
![]()
The National Center for Supercomputing Applications
University of Illinois at Urbana-Champaign
Contacts page