org.jafer.zserver.operations
Class Init

java.lang.Object
  extended by java.lang.Thread
      extended by org.jafer.zserver.ZServerThread
          extended by org.jafer.zserver.operations.Operation
              extended by org.jafer.zserver.operations.Init
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class Init
extends Operation

Checks/sets authentication and concurrent operations if requested by client

Version:
1.0
Author:
Antony Corfield; Matthew Dovey; Colin Tatham
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  java.lang.String clientInfo
           
private  int clientVersion
           
private  z3950.v3.PDU pduRequest
           
private  z3950.v3.PDU pduResponse
           
 
Fields inherited from class org.jafer.zserver.operations.Operation
BIB1_DIAGNOSTIC_OID
 
Fields inherited from class org.jafer.zserver.ZServerThread
logger, STATE_RUNNING, STATE_STOPPED, STATE_STOPPING
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Init(Session session, z3950.v3.PDU pduRequest)
           
 
Method Summary
private  java.lang.String getClientInfo()
           
private  int getClientVersion()
           
 z3950.v3.PDU runOp()
           
 
Methods inherited from class org.jafer.zserver.operations.Operation
close, getDiagnostic, getDiagnostic, getDiagnostic, getSession, run, start
 
Methods inherited from class org.jafer.zserver.ZServerThread
getActiveThreads, getNumberOfActiveThreads, getServerThreadId, getServerThreadState, getStartTime, getThreads, getUpTime, halt, hasThreads, isStopped, isStopping, purgeThreads, setStartTime, setStopped, setStopping, setThreadName, setThreads, startThread
 
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, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pduRequest

private z3950.v3.PDU pduRequest

pduResponse

private z3950.v3.PDU pduResponse

clientInfo

private java.lang.String clientInfo

clientVersion

private int clientVersion
Constructor Detail

Init

public Init(Session session,
            z3950.v3.PDU pduRequest)
Method Detail

runOp

public z3950.v3.PDU runOp()
                   throws java.lang.Exception
Specified by:
runOp in class Operation
Throws:
java.lang.Exception

getClientVersion

private int getClientVersion()

getClientInfo

private java.lang.String getClientInfo()