Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class Z39session

java.lang.Object
  |
  +--ORG.oclc.z39.Z39session

public class Z39session
extends Object


Field Summary
 Z39accessControl accessControl
          A Z39accessControl access control object that can be re-used.
 String autho
          Authorization to use for this session
 Z39close close
          A Z39close object that can be re-used.
 Object connection
          Connection object; this is a place for the client to remember things about this session
 Z39dedup dedup
          A Z39dedup access control object that can be re-used.
 Z39delete delete
          A Z39delete object that can be re-used.
 Z39extsvc extsvc
          A Z39extsvc object that can be re-used.
 boolean fInitDone
          ??
 String host
          Host of the server that this session connects to
 Z39init init
          A Z39init object that can be re-used.
 Z39logging logger
          The Z39 logging object.
 String newPassword
          New password for changing the password
 String password
          Password to use for this session
 int port
          Port of the server that this session connects to
 Z39present present
          A Z39present object that can be re-used.
 int readTimeout
          ReadTimeout period on the server in milliseconds.
 boolean reconnect
          Flag indicating whether the remote server support reconnect.
 int refId
          Reference id assigned by client
 Z39response response
          A Z39response object that can be re-used.
 Vector ResultSetNames
          Names of results sets for each search done by this session
 Z39scan scan
          A Z39scan object that can be re-used.
 Z39search search
          A Z39search object that can be re-used.
 String sessionId
          SessionId assigned by server
 Z39sort sort
          A Z39sort object that can be re-used.
 Z39trc trc
          A Z39trigger resource control object that can be re-used.
 DataDir userInfo
          Additional userInformation for the z3950 server init.
 
Constructor Summary
Z39session()
           
 
Method Summary
 void closeConnection()
          Close the Z39 connection to the server
 void initClient()
           
 void initClient(String hostName, int portNum)
          Set the hostname and port.
 void initClient(String hostName, int portNum, int readTimeout)
          Set the hostname and port and readTimeout.
 boolean isConnected()
           
 void reset()
           
 void setLog(OutputStream logfile)
           
 void setUserInfo(DataDir info)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ResultSetNames

public Vector ResultSetNames
Names of results sets for each search done by this session

sessionId

public String sessionId
SessionId assigned by server

refId

public int refId
Reference id assigned by client

host

public String host
Host of the server that this session connects to

port

public int port
Port of the server that this session connects to

readTimeout

public int readTimeout
ReadTimeout period on the server in milliseconds.

connection

public Object connection
Connection object; this is a place for the client to remember things about this session

autho

public String autho
Authorization to use for this session

password

public String password
Password to use for this session

newPassword

public String newPassword
New password for changing the password

userInfo

public DataDir userInfo
Additional userInformation for the z3950 server init.

reconnect

public boolean reconnect
Flag indicating whether the remote server support reconnect.

fInitDone

public boolean fInitDone
??

response

public Z39response response
A Z39response object that can be re-used.

init

public Z39init init
A Z39init object that can be re-used.

search

public Z39search search
A Z39search object that can be re-used.

scan

public Z39scan scan
A Z39scan object that can be re-used.

present

public Z39present present
A Z39present object that can be re-used.

delete

public Z39delete delete
A Z39delete object that can be re-used.

close

public Z39close close
A Z39close object that can be re-used.

sort

public Z39sort sort
A Z39sort object that can be re-used.

trc

public Z39trc trc
A Z39trigger resource control object that can be re-used.

extsvc

public Z39extsvc extsvc
A Z39extsvc object that can be re-used.

accessControl

public Z39accessControl accessControl
A Z39accessControl access control object that can be re-used.

dedup

public Z39dedup dedup
A Z39dedup access control object that can be re-used.

logger

public Z39logging logger
The Z39 logging object.
Constructor Detail

Z39session

public Z39session()
Method Detail

setLog

public void setLog(OutputStream logfile)

initClient

public void initClient(String hostName,
                       int portNum)
Set the hostname and port.

initClient

public void initClient(String hostName,
                       int portNum,
                       int readTimeout)
Set the hostname and port and readTimeout.

initClient

public void initClient()

isConnected

public boolean isConnected()

setUserInfo

public void setUserInfo(DataDir info)

reset

public void reset()

closeConnection

public void closeConnection()
Close the Z39 connection to the server

toString

public String toString()
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final