com.ibm.ctg.client

Class GatewayRequest

  • java.lang.Object
    • com.ibm.ctg.client.GatewayRequest
  • All Implemented Interfaces:
    GatewayReturnCodes
    Direct Known Subclasses:
    CicsCpRequest, ECIRequest, ESIRequest


    public class GatewayRequest
    extends java.lang.Object
    implements GatewayReturnCodes
    This is the root class that all the different types of Gateway request are built off. It simply contains the request type and the message ID, and provides serialisation methods to write/read the message header. GatewayRequest now include some expanded types
    • Method Detail

      • getGatewayRc

        public int getGatewayRc()
        Gets the gateway return code set in this object.
        Returns:
        The return code
      • getGatewayRcString

        public java.lang.String getGatewayRcString()
        Gets the Gateway return code set in this object and returns it as a String.

        The String returned is the name of the appropriate Java constant e.g. if the iGateway_Rc is ERROR_CONNECTION_FAILED, then the String returned will be "ERROR_CONNECTION_FAILED". If the iGateway_Rc is unknown then the String returned will be "ERROR_UNKNOWN_GATEWAY_RC".

        Returns:
        String The return code
©Copyright IBM Corp. 1994, 2012
Legal