A C D I M S U

A

attachToChannel(Channel) - Method in class User
Attaches user to channel.
(could have used constructor argument for this)

C

Channel - class Channel.
Class Channel in evap
Shows state management in a simulation When message is inserted, channel goes into countdown state and then nulls out ("evaporates") message.
Channel() - Method in class Channel
Default constructor inits to empty channel.
Channel() - Constructor for class Channel
 
countingDown - Variable in class Channel
State says counting down.
countingDown - Variable in class User
State says counting down.

D

downCount - Variable in class Channel
Countdown var, evaporate message when it == 0.
downCount - Variable in class User
Countdown var, switch to insertion when it == 0.

I

insertMessage(String) - Method in class Channel
Accepts string and places in message; starts countdown.

M

main(String[]) - Static method in class Sim
 
Main(String[]) - Static method in class Channel
 
Main(String[]) - Static method in class User
 
message - Variable in class Channel
Contents of the channel.
myChannel - Variable in class User
The channel attached to this User.

S

Sim - class Sim.
Class Sim in evap
Shows state management in a simulation Creates the User and Channel objects and steps them in a loop.
Sim() - Constructor for class Sim
 
step() - Method in class Channel
As with all objects, responds to step().
step() - Method in class User
As with all objects, responds to step().

U

User - class User.
Class User in evap
Shows state management in a simulation User inserts message into channel and then goes into wait state.
User() - Method in class User
Default constructor inits to insertion state.
User() - Constructor for class User
 

A C D I M S U