CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.client
Class AutoJavaGateway

java.lang.Object
  extended by com.ibm.ctg.client.JavaGatewayInterface
      extended by com.ibm.ctg.client.AutoJavaGateway

public class AutoJavaGateway
extends com.ibm.ctg.client.JavaGatewayInterface

This is a bootstrap class. If the specified address is that of the local host, then the realInstance method returns an instance of a LocalJavaGateway. Otherwise it returns an instance of the relevant network.

Note:This class only supports IPv4


Field Summary
 
Fields inherited from class com.ibm.ctg.client.JavaGatewayInterface
CLASS_VERSION, copyright
 
Method Summary
static java.lang.String getNetworkProtocol()
          Returns the protocol used when an automatic JavaGateway object determines that a network JavaGateway object is required.
static void setNetworkProtocol(java.lang.String strSetNetworkProtocol)
          This method sets the protocol used when an automatic JavaGateway object determines that a network JavaGateway object is required.
 
Methods inherited from class com.ibm.ctg.client.JavaGatewayInterface
getLocalAddress, setRequestExitMonitor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setNetworkProtocol

public static void setNetworkProtocol(java.lang.String strSetNetworkProtocol)
This method sets the protocol used when an automatic JavaGateway object determines that a network JavaGateway object is required.

Parameters:
strSetNetworkProtocol - Protocol type to use

getNetworkProtocol

public static java.lang.String getNetworkProtocol()
Returns the protocol used when an automatic JavaGateway object determines that a network JavaGateway object is required.

Returns:
string containing the protocol, excluding the trailing colon

©Copyright IBM Corp. 1994, 2014
Legal