com.ibm.ctg.client
Class AutoJavaGateway
java.lang.Object
com.ibm.ctg.client.JavaGatewayInterface
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
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 |
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