A B C D E G H I L M P R S T

A

AcceptThread - Class in mcgui
Helper class for TCPCommunicator.
AcceptThread(TCPCommunicator, int) - Constructor for class mcgui.AcceptThread
 

B

BasicCommunicator - Interface in mcgui
Interface to use when creating a multicast module for sending messages over the network
basicpeerdown(int) - Method in class mcgui.Multicaster
Signals that a peer is down and has been down for a while to allow for messages taking different paths from this peer to arrive.
basicreceive(int, Message) - Method in class mcgui.Multicaster
Receive a basic message
basicsend(int, Message) - Method in interface mcgui.BasicCommunicator
Send a message to a certain receiver.
basicsend(int, Message) - Method in class mcgui.TCPCommunicator
Send a message to a certain receiver.
bcom - Variable in class mcgui.Multicaster
The communication backend.

C

cast(String) - Method in class mcgui.Multicaster
Multicast a message

D

debug(String) - Method in class mcgui.GUI
Add a debug message that is shown in the GUI
debug(String) - Method in interface mcgui.MulticasterUI
Add a debug message to the GUI
deliver(int, String, String) - Method in class mcgui.GUI
Deliver a message that is shown in the GUI
deliver(int, String) - Method in class mcgui.GUI
Deliver a message that is shown in the GUI (without any extra info).
deliver(int, String, String) - Method in interface mcgui.MulticasterUI
Deliver a message to the UI
deliver(int, String) - Method in interface mcgui.MulticasterUI
Deliver a message to the UI (without any additional information)

E

enableSending() - Method in class mcgui.GUI
Enables the GUI to start sending messages.
enableSending() - Method in interface mcgui.MulticasterUI
Enables the GUI to start sending messages when all the communications are set up.
enableUI() - Method in class mcgui.Multicaster
Enables the user to start using the system.

G

getId() - Method in class mcgui.Multicaster
Returns id of the client.
getSender() - Method in class mcgui.Message
Returns the sender of the message
GUI - Class in mcgui
A graphical interface that uses a provided Multicaster module for multicasting messages to itself and other clients using a supplied Multicaster module.

H

hosts - Variable in class mcgui.Multicaster
Initial number of hosts in network.

I

id - Variable in class mcgui.Multicaster
Id of the client.
init() - Method in class mcgui.Multicaster
Method for initialization of things.

L

Lock - Class in mcgui
Class containing an object that is used by the framework to synchronize everything in such a way that there are no simultaneous calls to a Multicaster thereby avoiding the need for synchronization within a Multicaster module.
Lock() - Constructor for class mcgui.Lock
 
lock - Static variable in class mcgui.Lock
 

M

Main - Class in mcgui
Starter class that starts up a Multicaster module together with a GUI and the TCPCmmunicator.
Main() - Constructor for class mcgui.Main
 
main(String[]) - Static method in class mcgui.Main
Send message to connection
mcgui - package mcgui
 
mcui - Variable in class mcgui.Multicaster
The user interface.
Message - Class in mcgui
Message class to be extended.
Message(int) - Constructor for class mcgui.Message
 
Multicaster - Class in mcgui
Class to extend when creating a multicast module
Multicaster() - Constructor for class mcgui.Multicaster
 
MulticasterUI - Interface in mcgui
Interface that is implemented by the GUI that is used by a Multicaster for deliveries and debug messages to the GUI.

P

parseFile(String) - Static method in class mcgui.SetupParser
 

R

run() - Method in class mcgui.AcceptThread
 
run() - Method in class mcgui.TCPListener
 

S

sender - Variable in class mcgui.Message
The sender of the message
serialVersionUID - Static variable in class mcgui.GUI
 
setCommunicator(BasicCommunicator) - Method in class mcgui.Multicaster
Set BasicCommunicator that should be used
setId(int, int) - Method in class mcgui.Multicaster
Set the id of the client
setUI(MulticasterUI) - Method in class mcgui.Multicaster
Set the UI that should be used
SetupParser - Class in mcgui
Class that provides functions for parsing a setup file
SetupParser() - Constructor for class mcgui.SetupParser
 

T

TCPCommunicator - Class in mcgui
TCP implementation of BasicCommunicator
TCPCommunicator() - Constructor for class mcgui.TCPCommunicator
 
TCPListener - Class in mcgui
Helper class for TCPCommunicator.
TCPListener(TCPCommunicator, Socket) - Constructor for class mcgui.TCPListener
 

A B C D E G H I L M P R S T