C D H I L M N O P R S T W

C

consistentNetwork() - Method in class lanSimulation.Network
Answer whether #receiver is a consistent token ring network.

D

DefaultExample() - Static method in class lanSimulation.Network
Return a Network that may serve as starting point for various experiments.
destination_ - Variable in class lanSimulation.internals.Packet
Holds the name of the Node which should receive the information.
doRegressionTests() - Static method in class lanSimulation.LANSimulation
 

H

hasWorkstation(String) - Method in class lanSimulation.Network
Answer whether #receiver contains a workstation with the given name.

I

isInitialized() - Method in class lanSimulation.Network
Answer whether #receiver is properly initialized.

L

LANSimulation - class lanSimulation.LANSimulation.
 
LANSimulation() - Constructor for class lanSimulation.LANSimulation
 
lanSimulation - package lanSimulation
 
lanSimulation.internals - package lanSimulation.internals
 

M

main(String[]) - Static method in class lanSimulation.LANSimulation
 
message_ - Variable in class lanSimulation.internals.Packet
Holds the actual message to be send over the network.

N

NODE - Static variable in class lanSimulation.internals.Node
A node with type NODE has only basic functionality.
Network - class lanSimulation.Network.
A Network represents the basic data stucture for simulating a Local Area Network (LAN).
Network(int) - Constructor for class lanSimulation.Network
Construct a Network suitable for holding #size Workstations.
Node - class lanSimulation.internals.Node.
A Node represents a single Node in a Local Area Network (LAN).
Node(byte, String) - Constructor for class lanSimulation.internals.Node
Construct a Node with given #type and #name.
Node(byte, String, Node) - Constructor for class lanSimulation.internals.Node
Construct a Node with given #type and #name, and which is linked to #nextNode.
name_ - Variable in class lanSimulation.internals.Node
Holds the name of the Node.
nextNode_ - Variable in class lanSimulation.internals.Node
Holds the next Node in the token ring architecture.

O

origin_ - Variable in class lanSimulation.internals.Packet
Holds the name of the Node which initiated the request.

P

PRINTER - Static variable in class lanSimulation.internals.Node
A node with type PRINTER may accept packages to be printed.
Packet - class lanSimulation.internals.Packet.
A Packet represents a unit of information to be sent over the Local Area Network (LAN).
Packet(String, String) - Constructor for class lanSimulation.internals.Packet
Construct a Packet with given #message and #destination.
Packet(String, String, String) - Constructor for class lanSimulation.internals.Packet
Construct a Packet with given #message, #origin and #receiver.
printHTMLOn(StringBuffer) - Method in class lanSimulation.Network
Write a HTML representation of #receiver on the given #buf.
printOn(StringBuffer) - Method in class lanSimulation.Network
Write a printable representation of #receiver on the given #buf.
printXMLOn(StringBuffer) - Method in class lanSimulation.Network
Write an XML representation of #receiver on the given #buf.

R

requestBroadcast(Writer) - Method in class lanSimulation.Network
The #receiver is requested to broadcast a message to all nodes.
requestWorkstationPrintsDocument(String, String, String, Writer) - Method in class lanSimulation.Network
The #receiver is requested by #workstation to print #document on #printer.

S

simulate() - Static method in class lanSimulation.LANSimulation
 

T

toString() - Method in class lanSimulation.Network
Return a printable representation of #receiver.
type_ - Variable in class lanSimulation.internals.Node
Holds the type of the Node.

W

WORKSTATION - Static variable in class lanSimulation.internals.Node
A node with type WORKSTATION may initiate requests on the LAN.

C D H I L M N O P R S T W