com.ibm.as400.access.PxRepCV Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400 Show documentation
Show all versions of jt400 Show documentation
The Open Source version of the IBM Toolbox for Java
The newest version!
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: PxRepCV.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2000 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
import java.io.DataInputStream;
import java.io.InputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.lang.reflect.InvocationTargetException;
/**
The PxRepCV class represents the client
portion of a reply.
**/
abstract class PxRepCV
extends PxCompDS
implements PxDSRV
{
private static final String copyright = "Copyright (C) 1997-2000 International Business Machines Corporation and others.";
// Private data.
private long correlationId_ = -1;
private long clientId_ = -1; // @D1A @D2A
/**
Constructs a PxRepCV object.
@param type The datastream type. Valid values are listed in
the ProxyConstants class.
**/
public PxRepCV (short type)
{
super (type);
}
/**
Dumps the datastream for debugging and tracing.
@param output The print writer.
**/
public void dump (PrintWriter output)
{
synchronized (output) {
super.dump (output);
output.println(" Correlation id = " + correlationId_);
// @D2D if (clientId_ != null) // @D1a
// @D2D {
output.println (" Client id = " + clientId_); // @D2C
// @D2D for (int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy