Services Builder for CICS(R) 3270 Bridge v2.0.0.0

com.attachmate.cicsbridge.j2ee.outputs
Class PutString

java.lang.Object
  extended bycom.attachmate.cicsbridge.j2ee.outputs.PutString
All Implemented Interfaces:
java.io.Serializable

public final class PutString
extends java.lang.Object
implements java.io.Serializable

Return object that holds return code and number of characters written to the current screen.

See Also:
BridgeAPI_EJB.putString(String, int, int), Serialized Form

Constructor Summary
PutString(int returnCode, int numChars)
          Creates a PutString object and sets member variables.
 
Method Summary
 int getNumChars()
          Returns the number of characters that were actually written to the screen
 int getReturnCode()
          Returns zero for success.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PutString

public PutString(int returnCode,
                 int numChars)
Creates a PutString object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
numChars - - The returned number of characters that were actually written to the screen
Method Detail

getReturnCode

public int getReturnCode()
Returns zero for success. For possible failure values, see the getReturnCodeMessage method.

Returns:
int value

getNumChars

public int getNumChars()
Returns the number of characters that were actually written to the screen

Returns:
int value

Services Builder for CICS(R) 3270 Bridge v2.0.0.0