All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ORG.oclc.z39.client.Z39response

java.lang.Object
   |
   +----ORG.oclc.z39.client.Z39response

public class Z39response
extends Object
Z39response takes a unknown Z39.50 response, identifies it and calls the appropriate routine to examine the response.

Version:
@(#)Z39response.java 1.1 07/09/97

Variable Index

 o init
InitResponse.
 o not_BER
Value for type meaning this response was not in BER format.
 o present
PresentResponse.
 o scan
ScanResponse.
 o search
SearchResponse.
 o sort
SortResponse.
 o type
Type of the last response examined.
 o zClient_init
Value for type meaning this response was an Init.
 o zClient_present
Value for type meaning this response was a Present.
 o zClient_scan
Value for type meaning this response was a Scan.
 o zClient_search
Value for type meaning this response was a Search.
 o zClient_unknown
Value for type meaning this response was of an unknown type.
 o zsession
Z39session

Constructor Index

 o Z39response()
 o Z39response(Z39session)

Method Index

 o Response(BerString)
Determines the type and processes a Z39.50 Response.
 o Response(DataDir)
Determines the type and processes a Z39.50 Response.
 o toString()

Variables

 o not_BER
 public static final int not_BER
Value for type meaning this response was not in BER format.

 o zClient_unknown
 public static final int zClient_unknown
Value for type meaning this response was of an unknown type.

 o zClient_init
 public static final int zClient_init
Value for type meaning this response was an Init.

 o zClient_search
 public static final int zClient_search
Value for type meaning this response was a Search.

 o zClient_present
 public static final int zClient_present
Value for type meaning this response was a Present.

 o zClient_scan
 public static final int zClient_scan
Value for type meaning this response was a Scan.

 o type
 public int type
Type of the last response examined.

 o init
 public Z39init init
InitResponse. If this is !null, Response will use this object. If this is null, Response will create the object and use it.

 o scan
 public Z39scan scan
ScanResponse. If this is !null, Response will use this object. If this is null, Response will create the object and use it.

 o search
 public Z39search search
SearchResponse. If this is !null, Response will use this object. If this is null, Response will create the object and use it.

 o present
 public Z39present present
PresentResponse. If this is !null, Response will use this object. If this is null, Response will create the object and use it.

 o sort
 public Z39sort sort
SortResponse. If this is !null, Response will use this object. If this is null, Response will create the object and use it.

 o zsession
 public Z39session zsession
Z39session

Constructors

 o Z39response
 public Z39response()
 o Z39response
 public Z39response(Z39session z)

Methods

 o Response
 public void Response(BerString response)
Determines the type and processes a Z39.50 Response.

Parameters:
response - - BerString containing Response.
 o Response
 public void Response(DataDir response)
Determines the type and processes a Z39.50 Response.

Parameters:
response - - DataDir containing Response.
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index