| 
 | Open SiteSearch 4.1.1 Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ORG.oclc.HoldingServer.HoldingInfoClient
| Field Summary | |
|  int | ErrorCodeError code if request failed. | 
|  String | ErrorMsgError message if request failed. | 
|  BerString[] | HoldingDatasArray of HoldingInfo returned in Response. | 
|  int | RequestLengthThe number of bytes in the request. | 
|  int | ResponseLengthThe number of bytes in the response. | 
|  int | StatusCodeStatus code. | 
|  String | TransactionIDValue passed to Request() and returned by the target Holding Server and Response() stores it here. | 
| Constructor Summary | |
| HoldingInfoClient() | |
| Method Summary | |
|  void | dumpHoldingInfo() | 
| static void | dumpHoldings(DataDir holdingDir) | 
|  BerString | Request(String transactionId,
        int holdingInfoRequestType,
        int[] OCLCRecNos,
        String[] ISSNs,
        int holdingInfoType,
        char holdingLevel,
        long instNum,
        String instSym,
        String holdingState,
        String groupSymbol)Generate a HoldingInfo Client Request. | 
|  boolean | Response(BerString response)Porcess a HoldingInfo Client Response. | 
|  boolean | Response(DataDir response) | 
|  boolean | Response(int statusCode,
         int errorCode,
         String errorMsg,
         BerString[] holdingDatas) | 
|  void | run(String transactionId,
    int holdingInfoRequestType,
    int[] OCLCRecNos,
    String[] ISSNs,
    int holdingInfoType,
    char holdingLevel,
    long instNum,
    String instSym,
    String holdingState,
    String groupSymbol)Creates and sends a HoldingInfo, gets and processes the HoldingInfo response | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
| Field Detail | 
public String TransactionID
public int StatusCode
public int ErrorCode
public String ErrorMsg
public BerString[] HoldingDatas
public int RequestLength
public int ResponseLength
| Constructor Detail | 
public HoldingInfoClient()
| Method Detail | 
public void run(String transactionId,
                int holdingInfoRequestType,
                int[] OCLCRecNos,
                String[] ISSNs,
                int holdingInfoType,
                char holdingLevel,
                long instNum,
                String instSym,
                String holdingState,
                String groupSymbol)
         throws IOException,
                EOFException
TransactionId - is the TransactionID getting
        from client and Will be returned on Response.HoldingInfoRequestType - indicates type of
        input data provided.
        Available types are: 1. ByOCLCRecnos,
        2. ByISSNs.OCLCRecnos - provides list of OCLCRecnos.ISSNs - provides list of iSSNs.HoldingInfoType - indicates type of holding data
        requested.
        Available types are: 1. InstOwnData,
        2. HoldingInfo.HoldingLevel - provide user's holding level
        information.InstSymbol - provide user's institution symbol.GroupSymbol - provide user's group symbol.
public BerString Request(String transactionId,
                         int holdingInfoRequestType,
                         int[] OCLCRecNos,
                         String[] ISSNs,
                         int holdingInfoType,
                         char holdingLevel,
                         long instNum,
                         String instSym,
                         String holdingState,
                         String groupSymbol)
TransactionId - is the TransactionID getting
        from client and Will be returned on Response.HoldingInfoRequestType - indicates type of
        input data provided.
        Available types are: 1. ByOCLCRecnos,
        2. ByISSNs.OCLCRecnos - provides list of OCLCRecnos.ISSNs - provides list of iSSNs.HoldingInfoType - indicates type of holding data
        requested.
        Available types are: 1. InstOwnData,
        2. HoldingInfo.HoldingLevel - provide user's holding level
        information.InstSymbol - provide user's institution symbol.GroupSymbol - provide user's group symbol.public boolean Response(BerString response)
response - is BerString containing Response.
        information.public boolean Response(DataDir response)
public boolean Response(int statusCode,
                        int errorCode,
                        String errorMsg,
                        BerString[] holdingDatas)
public String toString()
public void dumpHoldingInfo()
public static void dumpHoldings(DataDir holdingDir)
| 
 | Open SiteSearch 4.1.1 Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||