Class oclc.z39.Z39response
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oclc.z39.Z39response

java.lang.Object
   |
   +----oclc.z39.Z39api
           |
           +----oclc.z39.Z39response

public class Z39response
extends Z39api
Z39response takes a unknown Z39.50 response, identifies it and calls the appropriate routine to examine the response.
Version:
@(#)Z39response.java 1.4 06/11/96
Author:
Jenny Colvard

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 type
Type of the last response examined.
 o z3950_init
Value for type meaning this response was an Init.
 o z3950_present
Value for type meaning this response was a Present.
 o z3950_scan
Value for type meaning this response was a Scan.
 o z3950_search
Value for type meaning this response was a Search.
 o z3950_unknown
Value for type meaning this response was of an unknown type.

Constructor Index

 o Z39response()

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 final static int not_BER
Value for type meaning this response was not in BER format.
 o z3950_unknown
  public final static int z3950_unknown
Value for type meaning this response was of an unknown type.
 o z3950_init
  public final static int z3950_init
Value for type meaning this response was an Init.
 o z3950_search
  public final static int z3950_search
Value for type meaning this response was a Search.
 o z3950_present
  public final static int z3950_present
Value for type meaning this response was a Present.
 o z3950_scan
  public final static int z3950_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.

Constructors

 o Z39response
  public Z39response()

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