A B C D F G H I M N P R S T U

A

addToDisconnectList(String) - Method in class distrit.server.MultiServerDaemon
 
allocateClient(ClientRecord) - Method in class distrit.server.ServerRecord
Adds a client to the set allocated to this server
allocatedClients - Variable in class distrit.server.ServerRecord
 
allocatedServer - Variable in class distrit.server.ClientRecord
 
Apple - class distrit.testing.Apple.
 
Apple() - Constructor for class distrit.testing.Apple
Creates a new instance of Apple

B

Banana - class distrit.testing.Banana.
 
Banana() - Constructor for class distrit.testing.Banana
 
Banana(String, String) - Constructor for class distrit.testing.Banana
Creates a new instance of Banana
bindingName - Variable in class distrit.server.SingleServerWrapper
 
bindingPort - Variable in class distrit.server.SingleServerWrapper
 
bindServer() - Method in class distrit.server.SingleServerWrapper
 
bindServer() - Method in class distrit.testing.TestITS
 

C

checkAndDisconnectClient(Object) - Method in class distrit.server.MultiServerDaemon
 
Chocolate - class distrit.testing.Chocolate.
 
Chocolate() - Constructor for class distrit.testing.Chocolate
Creates a new instance of Chocolate
ClientRecord - class distrit.server.ClientRecord.
Object representing a client connected to an Interactive Task Server.
ClientRecord(Object, String) - Constructor for class distrit.server.ClientRecord
Creates a new instance of ClientRecord
clientRecords - Variable in class distrit.server.MultiServerDaemon
 
clientRecordsForName(String) - Method in class distrit.server.MultiServerDaemon
 
clientsToDisconnect - Variable in class distrit.server.MultiServerDaemon
 
configFileName - Variable in class distrit.server.MultiServerDaemon
 
configRefreshDaemon - Variable in class distrit.server.MultiServerDaemon
 
connectLoop() - Method in class distrit.client.InteractiveTaskClient
This method loops forever trying to connect to the server if it isn't and interacting with it if it is connected.
CONTROL_INDEX - Static variable in class distrit.server.FineGrainedInteractiveTasks
Index within the Vector sent to the set method of this task for which task control information is sent.
Cream - class distrit.testing.Cream.
 
Cream() - Constructor for class distrit.testing.Cream
Creates a new instance of Cream
currGeneratedID - Variable in class distrit.server.MultiServerDaemon
 

D

DATA_INDEX - Static variable in class distrit.server.FineGrainedInteractiveTasks
Index within the Vector sent to the set method of this task for which task data information is sent.
deallocateClient(ClientRecord) - Method in class distrit.server.ServerRecord
Removes a client to the set allocated to this server
DEFAULT_BINDING_PORT - Static variable in class distrit.server.SingleServerWrapper
 
disconnectClient() - Method in class distrit.server.MultiServerDaemon
 
distrit - package distrit
 
distrit.client - package distrit.client
 
distrit.server - package distrit.server
 
distrit.testing - package distrit.testing
 

F

findSpecificServer(String) - Method in class distrit.server.MultiServerDaemon
 
FineGrainedInteractiveTasks - class distrit.server.FineGrainedInteractiveTasks.
Provides an abstraction to run many interactive tasks concurrently so that if one stops before others it can be replaced by a new task.
FineGrainedInteractiveTasks() - Constructor for class distrit.server.FineGrainedInteractiveTasks
Creates new FineGrainedInteractiveTasks
FineGrainedInteractiveTasks(Vector) - Constructor for class distrit.server.FineGrainedInteractiveTasks
Creates new FineGrainedInteractiveTasks

G

get(Object) - Method in interface distrit.InteractiveTask
Used to get output from the task
get(Object) - Method in class distrit.server.MultiInteractiveTask
Used to get output from the task
get(Object) - Method in class distrit.server.FineGrainedInteractiveTasks
Used to get output from the tasks plus a Boolean saying if they're alive.
get(Object) - Method in class distrit.testing.Apple
 
get(Object) - Method in class distrit.testing.Banana
Used to get output from the task
get(Object) - Method in class distrit.testing.Pear
Used to get output from the task
get(Object) - Method in class distrit.testing.Mandarin
Used to get output from the task
getAllocatedClients() - Method in class distrit.server.ServerRecord
Get method for the set of clients currently allocated to this server
getAllocatedServer() - Method in class distrit.server.ClientRecord
Get method for the currently allocated server, ie.
getID(Object) - Method in interface distrit.InteractiveTaskServer
Called by clients the first time they connect.
getID(Object) - Method in class distrit.server.MultiServerDaemon
Called by clients the first time they connect.
getID(Object) - Method in class distrit.server.SingleServerWrapper
Called by clients the first time they connect.
getID(Object) - Method in class distrit.testing.TestITS
 
getName() - Method in class distrit.server.ServerRecord
Get method for this server's unique name
getName() - Method in class distrit.server.ClientRecord
Get method for this client's unique name
getRealId() - Method in class distrit.server.ClientRecord
Get method for the ID given to this client by its currently allocated server.
getServer() - Method in class distrit.server.ServerRecord
Get method for the actual server object within this record
getSpecificClientName() - Method in class distrit.server.ServerRecord
Get method for the name of the client specifically allocated to this server
getTask(Object) - Method in interface distrit.InteractiveTaskServer
This will provide the client with the InteractiveTask it should run.
getTask(Object) - Method in class distrit.server.MultiServerDaemon
This will provide the client with the InteractiveTask it should run.
getTask(Object) - Method in class distrit.server.SingleServerWrapper
This will provide the client with the InteractiveTask it should run.
getTask(Object) - Method in class distrit.testing.TestITS
 

H

handleException(Exception) - Static method in class distrit.server.SingleServerWrapper
 

I

inITS - Variable in class distrit.server.SingleServerWrapper
 
interact(Object, Object) - Method in interface distrit.InteractiveTaskServer
Called by clients when they wish to interact.
interact(Object, Object) - Method in class distrit.server.MultiServerDaemon
Called by clients when they wish to interact.
interact(Object, Object) - Method in class distrit.server.SingleServerWrapper
Called by clients when they wish to interact.
interact(Object, Object) - Method in class distrit.testing.TestITS
Called by clients when they wish to interact.
InteractiveTask - interface distrit.InteractiveTask.
A task that can also perform I/O during the task opearation through get and set methods.
InteractiveTaskClient - class distrit.client.InteractiveTaskClient.
This is a generic client that will connect to an InteractiveTaskServer, download its task, run it and perform interaction with the server at regular intervals.
InteractiveTaskClient(String, String, Vector) - Constructor for class distrit.client.InteractiveTaskClient
Creates new InteractiveTaskClient
InteractiveTaskServer - interface distrit.InteractiveTaskServer.
Remote interface for clients to connect to a server managing interactive tasks.

M

main(String[]) - Static method in class distrit.client.InteractiveTaskClient
Method executed when the client is started.
main(String[]) - Static method in class distrit.server.SingleServerWrapper
 
main(String[]) - Static method in class distrit.testing.TestITS
 
Mandarin - class distrit.testing.Mandarin.
 
Mandarin() - Constructor for class distrit.testing.Mandarin
Creates a new instance of Mandarin
MultiInteractiveTask - class distrit.server.MultiInteractiveTask.
This allows many InteractiveTasks to be bundled togather as one InteractiveTask.
MultiInteractiveTask(Vector) - Constructor for class distrit.server.MultiInteractiveTask
Creates new MultiInteractiveTask
MultiServerDaemon - class distrit.server.MultiServerDaemon.
MultiServerDaemon allocates multiple clients between multiple servers in real-time.
MultiServerDaemon(ArrayList) - Constructor for class distrit.server.MultiServerDaemon
Creates a new instance of MultiServerStage2

N

name - Variable in class distrit.server.ServerRecord
 
name - Variable in class distrit.server.ClientRecord
 
nameServer - Variable in class distrit.server.MultiServerDaemon
 

P

Pear - class distrit.testing.Pear.
 
Pear() - Constructor for class distrit.testing.Pear
Creates a new instance of Pear
println(String) - Method in class distrit.server.MultiServerDaemon
 

R

readXMLConfig(String) - Method in class distrit.server.MultiServerDaemon
 
realId - Variable in class distrit.server.ClientRecord
 
REFRESH_SECONDS - Static variable in class distrit.server.MultiServerDaemon
Number of seconds to wait between re-reading configuration file.
run(Object) - Method in interface distrit.Task
Totally customizable method with code to be executed by the the interactive task clients.
run(Object) - Method in class distrit.server.MultiInteractiveTask
Starts all tasks in their own thread
run(Object) - Method in class distrit.server.FineGrainedInteractiveTasks
Starts all tasks in their own thread
run(Object) - Method in class distrit.testing.Apple
 
run(Object) - Method in class distrit.testing.Banana
Totally customizable method say throws InterruptedException?
run(Object) - Method in class distrit.testing.Pear
Totally customizable method say throws InterruptedException?
run(Object) - Method in class distrit.testing.Mandarin
Totally customizable method say throws InterruptedException?

S

server - Variable in class distrit.server.ServerRecord
 
serverPool - Variable in class distrit.server.MultiServerDaemon
 
serverPoolI - Variable in class distrit.server.MultiServerDaemon
 
ServerRecord - class distrit.server.ServerRecord.
Record representing an InteractiveTaskServer.
ServerRecord(String, InteractiveTaskServer, String) - Constructor for class distrit.server.ServerRecord
Creates a new instance of ServerRecord
set(Object) - Method in interface distrit.InteractiveTask
Used to send input to the task
set(Object) - Method in class distrit.server.MultiInteractiveTask
Used to send input to the task
set(Object) - Method in class distrit.server.FineGrainedInteractiveTasks
Used to send input to each of the tasks or to replace these tasks.
set(Object) - Method in class distrit.testing.Apple
Used to send input to the task
set(Object) - Method in class distrit.testing.Banana
Used to send input to the task
set(Object) - Method in class distrit.testing.Pear
Used to send input to the task
set(Object) - Method in class distrit.testing.Mandarin
Used to send input to the task
setAllocatedServer(ServerRecord) - Method in class distrit.server.ClientRecord
Set method for the currently allocated server, ie.
setRealId(Object) - Method in class distrit.server.ClientRecord
Set method for the ID given to this client by its currently allocated server.
setSpecificClientName(String) - Method in class distrit.server.ServerRecord
Set method for the name of the client specifically allocated to this server
SingleServerWrapper - class distrit.server.SingleServerWrapper.
This wrapper simplifies the process of making your own server.
SingleServerWrapper(InteractiveTaskServer, String) - Constructor for class distrit.server.SingleServerWrapper
Creates a new instance of SingleServerWrapper
SingleServerWrapper(InteractiveTaskServer, String, int) - Constructor for class distrit.server.SingleServerWrapper
Creates a new instance of SingleServerWrapper
specificClientName - Variable in class distrit.server.ServerRecord
 
startReadConfigDaemon() - Method in class distrit.server.MultiServerDaemon
 

T

Task - interface distrit.Task.
A Task represents a single task that takes a paramater when it starts and returns a value when it terminates, both can be vectors..
TestITS - class distrit.testing.TestITS.
 
TestITS() - Constructor for class distrit.testing.TestITS
Creates a new instance of TestITS
toString() - Method in class distrit.server.ServerRecord
 
toString() - Method in class distrit.server.MultiInteractiveTask
 
toString() - Method in class distrit.server.FineGrainedInteractiveTasks
 
toString() - Method in class distrit.server.ClientRecord
 
toString() - Method in class distrit.testing.Banana
 
toString() - Method in class distrit.testing.Chocolate
 
toString() - Method in class distrit.testing.Pear
 
toString() - Method in class distrit.testing.Mandarin
 

U

uid - Variable in class distrit.server.ClientRecord
 

A B C D F G H I M N P R S T U