CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.client
Class SslJavaGateway

java.lang.Object
  extended by com.ibm.ctg.client.JavaGatewayInterface
      extended by com.ibm.ctg.client.SslJavaGateway
All Implemented Interfaces:
java.lang.Runnable

public class SslJavaGateway
extends com.ibm.ctg.client.JavaGatewayInterface
implements java.lang.Runnable

This class manages the connection between a program and a CICS Transaction Gateway. You will need a SslJavaGateway object for each Gateway that you wish to talk to. Once a connection has been established, you send GatewayRequest objects (or sub-classes of) to the Gateway via the flow method.

A SslJavaGateway object has a second thread which is used to listen for in-bound replies from the Gateway.


Field Summary
 
Fields inherited from class com.ibm.ctg.client.JavaGatewayInterface
CLASS_VERSION, copyright
 
Method Summary
static java.lang.String getKeyRing()
          Deprecated. As of v6.0, deprecated in favour of JavaGateway.getProtocolProperties()
 java.net.InetAddress getLocalAddress()
           
static void setKeyRing(java.lang.String strSetKeyRing, java.lang.String strSetKeyRingPW)
          Deprecated. As of v6.0, deprecated in favour of JavaGateway.setProtocolProperties(Properties)
 
Methods inherited from class com.ibm.ctg.client.JavaGatewayInterface
setRequestExitMonitor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLocalAddress

public java.net.InetAddress getLocalAddress()
Overrides:
getLocalAddress in class com.ibm.ctg.client.JavaGatewayInterface

setKeyRing

@Deprecated
public static void setKeyRing(java.lang.String strSetKeyRing,
                                         java.lang.String strSetKeyRingPW)
Deprecated. As of v6.0, deprecated in favour of JavaGateway.setProtocolProperties(Properties)

This method sets the SSL key ring class or keystore to be used for the client connection, and also the password for the key ring class or keystore. This method defines these JVM wide. All SSLJavaGateways will use the same key ring class or keystore unless overridden using the SSL protocol specific properties.

Parameters:
strSetKeyRing - the full classname of the key ring class or keystore file.
strSetKeyRingPW - the password for the encrypted key ring class or keystore
See Also:
getKeyRing()

getKeyRing

@Deprecated
public static java.lang.String getKeyRing()
Deprecated. As of v6.0, deprecated in favour of JavaGateway.getProtocolProperties()

Returns the key ring class or keystore set using the setKeyRing method

Returns:
string containing the full key ring classname
See Also:
setKeyRing(String, String)

©Copyright IBM Corp. 1994, 2014
Legal