Method Summary | |
---|---|
void | close() |
ConnectionType | getConnectionType() |
String | getHost() |
int | getOpenTimeout() |
int | getPort() |
int | getReadTimeout() |
boolean | IsGUIDGenerationStyleSecure () |
boolean | IsTraceEnabled() |
void | open() |
void | open(String keyStoreName, String keyStorePassword) |
ECIConnection | setConnectionType(ConnectionType aType) |
ECIConnection | setHost(String host) |
ECIConnection | setOpenTimeout(int openTimeoutInSeconds) |
ECIConnection | setPort(int port) |
ECIConnection | setReadTimeout(int inSeconds) |
ECIConnection | setSecureConnection(boolean isSecure) |
ECIConnection | setSecureGUID(boolean val) |
ECIConnection | setTrace(boolean val) |
public void close() throws CICSException
Close the connection and perform any necessary cleanup
public ConnectionType getConnectionType()Get connection type
public String getHost()
Get the name of the connected host
int getOpenTimeout()
public int getPort()
public int getReadTimeout()
public boolean isGUIDGenerationStyleSecure()
Check if GUID generation is secure
public boolean isTraceEnabled()
public void open() throws CICSException
Open the connection. This is required to start communicating with the server.
public void open(String keyStoreName, String keyStorePassword) throws CICSException
Open the connection. This is required to start communicating with the server.
public ECIConnection setConnectionType(ConnectionType aType)
Set Connection type. Default type is NO_LUW.
public ECIConnection setHost(String host)
ECIConnection setOpenTimeout(int openTimeOutInSeconds)
Set open timeout for the connection. The connection times out after the number of seconds set if there is no response from the server.
public ECIConnection setPort(int port)
public ECIConnection setReadTimeout(int inSeconds)
Set read timeout for the connection. The connection times out after "readTimeout" seconds if there is no response from the server.
public ECIConnection setSecureConnection(boolean isSecure)
Set security for the connection. The connection uses SSL if true.
public ECIConnection setSecureGUID(boolean val)
public ECIConnection setTrace(boolean val)