org.jafer.zserver.operations
Class Init

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

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

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, getId, getNumberOfActiveThreads, getStartTime, getState, 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, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
java.lang.Exception

getClientVersion

private int getClientVersion()

getClientInfo

private java.lang.String getClientInfo()