Open SiteSearch 4.1.1
Final

ORG.oclc.isoill
Class IllSession

java.lang.Object
  |
  +--ORG.oclc.isoill.IllSession

public class IllSession
extends Object

The IllSession object contains information about the user's connection with an ILL Server.


Field Summary
 Object connection
          Connection object; this is a place for the client to remember things about this session.
 String defaultService
          String object that contains the default ILL service type for the Ill session.
 String emailFrom
          String object that contains the email "from" line.
 String emailMessage
          String object that contains the email message.
 String emailServer
          String object that contains the email server name.
 String emailSubject
          String object that contains the email subject line.
 String host
          String object containing the name of the host of the server that this session connects to.
 String MemailFrom
          String object that contains the email "from" line.
 String MemailMessage
          String object that contains the email message.
 String MemailReplyto
          String object that contains the email "from" line.
 String MemailSender
          String object that contains the email server name.
 String MemailSubject
          String object that contains the email subject line.
 String MemailTo
          String object that contains the email server name.
 IllPatronInfo patron
          IllPatronInfo object that containis the patron Information for the Ill session.
 int port
          Integer data type containing the oort of the server that this session connects to.
 IllRequest request
          An IllRequest object that can be re-used.
 
Constructor Summary
IllSession()
          Constructs an IllSession object.
 
Method Summary
 void closeConnection()
          Closes the connection to the IsoIll server.
 void initClient()
          Sets the hostname and port with the values stored in this object.
 void initClient(String hostName, int portNum)
          Sets the hostname and port.
 boolean isConnected()
          Returns a boolean which indicates whether this user has a connection to an ILL Server.
 IllPatronInfo patron()
          Returns an ILLPatronInfo object that contains the patron information.
 void reset()
          Resets (closes) the connection to an IsoIll Server.
 String toString()
          Generates a String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

host

public String host
String object containing the name of the host of the server that this session connects to.

port

public int port
Integer data type containing the oort of the server that this session connects to.

connection

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

patron

public IllPatronInfo patron
IllPatronInfo object that containis the patron Information for the Ill session.

emailServer

public String emailServer
String object that contains the email server name. for the Ill session.

emailFrom

public String emailFrom
String object that contains the email "from" line. for the Ill session.

emailSubject

public String emailSubject
String object that contains the email subject line. for the Ill session.

emailMessage

public String emailMessage
String object that contains the email message. for the Ill session.

MemailTo

public String MemailTo
String object that contains the email server name. for the Ill session.

MemailFrom

public String MemailFrom
String object that contains the email "from" line. for the Ill session.

MemailSubject

public String MemailSubject
String object that contains the email subject line. for the Ill session.

MemailSender

public String MemailSender
String object that contains the email server name. for the Ill session.

MemailReplyto

public String MemailReplyto
String object that contains the email "from" line. for the Ill session.

MemailMessage

public String MemailMessage
String object that contains the email message. for the Ill session.

defaultService

public String defaultService
String object that contains the default ILL service type for the Ill session.

request

public IllRequest request
An IllRequest object that can be re-used.
Constructor Detail

IllSession

public IllSession()
Constructs an IllSession object.
Method Detail

initClient

public void initClient(String hostName,
                       int portNum)
Sets the hostname and port.
Parameters:
hostName - the name of the host to connect to.
portNum - the port number to connect to.

initClient

public void initClient()
Sets the hostname and port with the values stored in this object.

isConnected

public boolean isConnected()
Returns a boolean which indicates whether this user has a connection to an ILL Server.

reset

public void reset()
Resets (closes) the connection to an IsoIll Server.

closeConnection

public void closeConnection()
Closes the connection to the IsoIll server.

patron

public IllPatronInfo patron()
Returns an ILLPatronInfo object that contains the patron information.
Returns:
IllPatronInfo

toString

public String toString()
Generates a String representation of the object.
Returns:
String
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final