Serialized Form

Class taskspaces.system.Agent extends Communicator implements Serializable

Serialized Fields

node

Node node
Reference to hosting Node.


space

Space space
Reference to hosting Space.


Class taskspaces.system.Communicator extends java.lang.Object implements Serializable

Serialized Fields

logWrite

java.io.PrintWriter logWrite
The PrintWriter that outputs the log file. null if nothing specified.


logWriteName

java.lang.String logWriteName
The file name of the log writer.


Class taskspaces.system.LogAgent extends Agent implements Serializable

Serialized Fields

socket

java.net.Socket socket
The socket of the LogHopper.


inst

java.lang.Object inst
The instance of the initializing class.


Class taskspaces.system.MessageStore extends java.lang.Object implements Serializable

Serialized Fields

m

java.util.Map m
Holds messages and keys.


Class taskspaces.system.Node extends Communicator implements Serializable

Serialized Fields

port

int port
Port number of the child Server.


maxTasks

long maxTasks
Maximum tasks to execute before exiting.


spaceAddress

java.lang.String spaceAddress
Address of the registered Space.


ip

java.lang.String ip
The local IP address.


host

java.lang.String host
The local host name.


taskStore

TaskStore taskStore
The child TaskStore.


messageStore

MessageStore messageStore
The child MessageStore.


agentInfo

java.lang.Object agentInfo
Information for Agents.


workerThread

java.lang.Thread workerThread
Thread to hold Worker.


serverThread

java.lang.Thread serverThread
Thread to hold Server.


id

int id
Incremental ID for Workers and Servers.


busy

boolean busy
Indicates if Worker is busy executing Task.


defaultPort

int defaultPort
Default Worker port.


Class taskspaces.system.ProcessManager extends java.lang.Object implements Serializable


Class taskspaces.system.Receiver extends Communicator implements Serializable

Serialized Fields

spaceAddress

java.lang.String spaceAddress
IP address and port number of the Space storing results.


tasks

int tasks
Number of results to be received.


path

java.lang.String path
Desired full output file path.


statusPath

java.lang.String statusPath
Desired full status file path.


date

boolean date
Print date if true.


header

java.lang.String header
Include output file header.


footer

java.lang.String footer
Include output file footer.


append

boolean append
Overwrite false or append true output.


receivedTasks

int[] receivedTasks
Hold 1 for tasks received, 0 for tasks not accounted for.


user

java.lang.String user
The username of the person who started this job.


app

java.lang.String app
The application name of this job


Class taskspaces.system.Result extends java.lang.Object implements Serializable

Serialized Fields

id

int id
The id of the task sending this result.


resultObject

java.lang.Object resultObject
The object which will be sent back as a result.


Class taskspaces.system.Server extends Communicator implements Serializable

Serialized Fields

taskStore

TaskStore taskStore
Reference to local TaskStore.


messageStore

MessageStore messageStore
Reference to local MessageStore.


id

int id
ID for this Server.


s

java.net.ServerSocket s
ServerSocket for this Server.


node

Node node
Reference to the host Node.


timeout

int timeout
Timeout count


Class taskspaces.system.Space extends Communicator implements Serializable

Serialized Fields

s

java.net.ServerSocket s
The ServerSocket which will accept all the incomming connections.


classLoaderPath

java.net.URLClassLoader classLoaderPath
The URLClassLoader of this class.


Class taskspaces.system.Task extends Communicator implements Serializable

Serialized Fields

node

Node node
Holds a reference to the host Node.


tasks

long tasks
Holds the number of tasks for this application.


id

int id
Identifier.


Class taskspaces.system.TaskAgent extends Agent implements Serializable

Serialized Fields

t

Task t
Holds a subclass of Task


taskList

int[] taskList
Array of tasks to send


user

java.lang.String user
Username of the one who started the application


appName

java.lang.String appName
The application name of this application.


Class taskspaces.system.TaskStore extends java.lang.Object implements Serializable

Serialized Fields

contents

java.lang.Object contents
Holds a Task.


available

boolean available
Indicates if a Task is available.


Class taskspaces.system.Worker extends Communicator implements Serializable

Serialized Fields

taskStore

TaskStore taskStore
Holds a reference to the local TaskStore.


id

int id
Node incremented ID to identify this Worker


node

Node node
Reference to the hosting Node.


-bottom