com.ibm.as400.access.PxFinalizeReqSV 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: PxFinalizeReqSV.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;
/**
The PxFinalizeReqSV class represents the
server view of a finalize request.
**/
class PxFinalizeReqSV
extends PxReqSV
{
private static final String copyright = "Copyright (C) 1997-2000 International Business Machines Corporation and others.";
// Private data.
private PxTable proxyTable_;
/**
Constructs a PxFinalizeReqSV object.
@param proxyTable The proxy table.
**/
public PxFinalizeReqSV (PxTable proxyTable)
{
super (ProxyConstants.DS_FINALIZE_REQ);
proxyTable_ = proxyTable;
}
/**
Processes the request.
@return The corresponding reply, or null if none.
**/
public PxRepSV process ()
{
// Get the information from the datastream parameters.
Object proxy = ((PxPxObjectParm) getParm (0)).getObjectValue ();
// Remove the object from the table.
proxyTable_.remove (proxy);
// Return null (no reply).
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy