com.microfocus.cics.client.ECIBINPConnection
Method Summary | |
---|---|
void | close()
Close the connection and perform any necessary cleanup |
ConnectionType | getConnectionType()
Get ConnectionType |
String | getHost()
Get the name of the connected host |
int | getOpenTimeout()
Get the openTimeout |
int | getPort()
Get the port number |
int | getReadTimeout()
Get the readTimeout |
boolean | IsGUIDGenerationStyleSecure
()
Check if GUID generation is secure |
boolean | IsTraceEnabled()
Check if the trace is enabled |
void | open()
Open the connection |
void | open(String keyStoreName,
String keyStorePassword)
Open the connection |
ECIConnection | setConnectionType(ConnectionType aType)
Set connection type |
ECIConnection | setHost(String host)
Set the name of the host |
ECIConnection | setOpenTimeout(int openTimeoutInSeconds)
Set open timeout for the connection |
ECIConnection | setPort(int port)
Set the port number |
ECIConnection | setReadTimeout(int inSeconds)
Set read timeout for the connection |
ECIConnection | setSecureConnection(boolean isSecure)
Set security for the connection |
ECIConnection | setSecureGUID(boolean val)
Set the value of the secure GUID |
ECIConnection | setTrace(boolean val)
Set the value of trace |
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()
Get the openTimeout
public int getPort()
Get the port number
public int getReadTimeout()
Get the readTimeout
public boolean isGUIDGenerationStyleSecure()
Check if GUID generation is secure
public boolean isTraceEnabled()
Check if trace is enabled
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.
keyStoreName | Name of keystore |
keyStorePassword | Password of keystore |
public ECIConnection setConnectionType(ConnectionType aType)
Set Connection type. Default type is NO_LUW.
public ECIConnection setHost(String host)
Set the name of the host
host | The host name |
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.
openTimeOutInSeconds | The number of seconds |
public ECIConnection setPort(int port)
Set the port number
port | The port number |
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.
inSeconds | In seconds |
public ECIConnection setSecureConnection(boolean isSecure)
Set security for the connection. The connection uses SSL if true.
isSecure | true or false |
public ECIConnection setSecureGUID(boolean val)
Set the value of secure GUID
val | Value of the secure GUID |
public ECIConnection setTrace(boolean val)
Set the value of trace
val | Trace value |