org.globus.gatekeeper
Class GateKeeperClient

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.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.


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, 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
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()

handlePing

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

handleRequest

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