org.gridbus.broker.protocol
Class Connect

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.gridbus.broker.protocol.Connect
All Implemented Interfaces:
java.lang.Runnable

public class Connect
extends java.lang.Thread

This class represents the connection thread between the remote monitoring clients and the broker

Author:
Rajiv Ranjan (rranjan@cs.mu.oz.au), Krishna Nadiminti (kna@unimelb.edu.au)

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Connect(java.net.Socket clientSocket, GridbusFarmingEngine fr)
          Sets up the connection parameters
 
Method Summary
 void response(java.lang.String resp)
          Returns a response to the client on this connection
 void run()
          This is the main run method of the connection, which intitiates ProtocolMethods for the commands from the client
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Connect

public Connect(java.net.Socket clientSocket,
               GridbusFarmingEngine fr)
Sets up the connection parameters

Parameters:
clientSocket -
fr -
Method Detail

response

public void response(java.lang.String resp)
Returns a response to the client on this connection

Parameters:
resp -

run

public void run()
This is the main run method of the connection, which intitiates ProtocolMethods for the commands from the client

See Also:
Thread.run()