org.globus.gatekeeper
Class GateKeeperClient

java.lang.Object
  extended by java.lang.Thread
      extended by org.globus.gatekeeper.GateKeeperClient
All Implemented Interfaces:
Runnable

public class GateKeeperClient
extends Thread

GateKeeperClient is a thread which handles individual client request. All communications between the client and the gatekeeper are handled by this object.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GateKeeperClient(GateKeeperServer service, Socket s)
           
 
Method Summary
protected  void handlePing(GSSCredential creds, GateKeeperRequest cr)
           
protected  void handleRequest(GSSCredential creds, GateKeeperRequest cr)
           
 void run()
           
 void setLogger(org.apache.log4j.Logger logger)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GateKeeperClient

public GateKeeperClient(GateKeeperServer service,
                        Socket s)
Method Detail

setLogger

public void setLogger(org.apache.log4j.Logger logger)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

handlePing

protected void handlePing(GSSCredential creds,
                          GateKeeperRequest cr)
                   throws GateKeeperException
Throws:
GateKeeperException

handleRequest

protected void handleRequest(GSSCredential creds,
                             GateKeeperRequest cr)
                      throws GateKeeperException
Throws:
GateKeeperException