org.jafer.zserver.operations
Class Present

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

public class Present
extends Operation

Runs a Z39.50 Present on requested resultSet stored in associated Session. Uses locking on resultSets (databeans) if client has requested concurrent operations.

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

Field Summary
private  z3950.v3.PDU pduRequest
           
private  z3950.v3.PDU pduResponse
           
private static RecordFactory recordFactory
           
 
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
Present(Session session, z3950.v3.PDU pduRequest)
           
 
Method Summary
 z3950.v3.PDU Present(z3950.v3.PDU pduRequest, z3950.v3.PDU pduResponse)
           
 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

recordFactory

private static RecordFactory recordFactory

pduRequest

private z3950.v3.PDU pduRequest

pduResponse

private z3950.v3.PDU pduResponse
Constructor Detail

Present

public Present(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

Present

public z3950.v3.PDU Present(z3950.v3.PDU pduRequest,
                            z3950.v3.PDU pduResponse)