|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.eNetwork.ECL.ECLConnection
ECLConnection is the base class from which ECLSession inherits. An application must use an instance of ECLSession to access the methods in this class.
Field Summary | |
static int |
CONNECTION_ACTIVE
|
static int |
CONNECTION_AUTOMATIC_INCREMENT_FAILED
|
static int |
CONNECTION_DEVICE_NAME_READY
|
static int |
CONNECTION_DEVNAME_IN_USE
|
static int |
CONNECTION_INACTIVE
|
static int |
CONNECTION_INIT
|
static int |
CONNECTION_LOCAL_CLIENT_NOT_FOUND
|
static int |
CONNECTION_PND_ACTIVE
|
static int |
CONNECTION_PND_INACTIVE
|
static int |
CONNECTION_READY
|
static int |
CONNECTION_WORKSTATION_ID_READY
|
static int |
ENCRYPTION_128BIT
|
static int |
ENCRYPTION_168BIT
|
static int |
ENCRYPTION_40BIT
|
static int |
ENCRYPTION_56BIT
|
static int |
ENCRYPTION_NOKEY
|
static int |
ENCRYPTION_NONE
|
Method Summary | |
java.lang.String |
customAIDHandlingList()
Returns List of AID keys to be handled uniquely, according to html applet param. |
java.lang.String |
getCertificateName()
Returns configured client certificate Name |
boolean |
getCertificateNameAdmin()
Returns whether the certificate Name can be modified |
boolean |
getCertificatePromptHowOftenAdmin()
Returns whether how often the certificate is prompted can be modified |
int |
GetCICSGWCodePage()
Gets the user-specified CICS gateway code page. |
java.lang.String |
GetCICSServer()
Gets the name of CICS server. |
int |
GetCodePage()
Gets the host code page. |
int |
GetCommStatus()
Returns the status of the connection to the host |
int |
GetConnType()
Gets the session type. |
java.lang.String |
GetDeviceName()
Returns the device (or LU) name associated with this session. |
int |
GetEncryptionLevel()
Gets the session type. |
java.lang.String |
GetHost()
Gets the name of the host with which the session is established. |
boolean |
getignoreWellKnownTrustedCAsOption()
Returns the value of the ignoreWellKnownTrustedCAs property |
java.lang.String |
GetLabel()
Gets the session label. |
java.lang.String |
GetName()
Gets the session name. |
int |
GetPort()
Gets the host port number of the session. |
java.util.Properties |
getProperties()
Return the Properties object used when constructing this session. |
java.lang.String |
getProxyAuthenMethod()
Returns the current value of the Socks v5 authentication method. |
java.lang.String |
getProxyServerName()
Returns the currently defined proxy server. |
java.lang.String |
getProxyServerPort()
Returns the current value of the port to connect to on proxy server. |
java.lang.String |
getProxyType()
Returns the current value of the proxy server property. |
java.lang.String |
getProxyUserID()
Returns the current value of the user id used for authentication with the Socks v5 Proxy. |
java.lang.String |
getProxyUserPassword()
Gets the value of the password used for authentication with the Socks 5 Proxy. |
int |
GetTimeout()
Gets the timeout for the session. |
java.lang.String |
GetWorkstationID()
Returns the name of a workstation ID for this session. |
boolean |
IsCommReady()
Checks whether the session is ready for interaction such as sending keystrokes or calling other API methods. |
boolean |
IsCommStarted()
Checks whether the session is connected to the host. |
boolean |
IsDeviceNameReady()
Checks whether the negotiated device name is ready. |
boolean |
isENPTUI()
Returns whether or not the ENPTUI function should be enabled for 5250 display session. |
boolean |
isPrintDestination()
Determines if the print destination is a printer or a file This is only valid for VT sessions. |
boolean |
isQuietMode()
Returns whether or not quiet mode processing is enabled. |
boolean |
isSeparateFiles()
Determines if each print job goes to a unique file or have printer jobs appended to each other in one file. |
boolean |
isTCPNODELAY()
Returns the setting of the TCPNODELAY configuration option. |
boolean |
IsWorkstationIDReady()
Checks whether the negotiated workstation ID is ready. |
void |
RegisterCommEvent(ECLCommNotify notify,
boolean initEvent)
Registers a notification object for events dispatched by a single instance of ECLConnection. |
void |
setCertificateName(java.lang.String name)
Set configured client certificate Name |
void |
setCertificatePromptHowOften(java.lang.String howOften)
Set how often the client certificate should be prompted |
void |
setProxyAuthenMethod(java.lang.String authMethod)
Sets the authentication method that will be used to communicate with the Socks 5 Proxy. |
void |
setProxyServerName(java.lang.String hostName)
Sets the name of the proxy server name to use. |
void |
setProxyServerPort(java.lang.String port)
Sets the port that will be opened on the proxy server. |
void |
setProxyType(java.lang.String newProxyType)
Sets the type of the proxy server that will be used. |
void |
setProxyUserID(java.lang.String newUserID)
Sets the value of the user id used for authentication with the Socks v5 Proxy. |
void |
setProxyUserPassword(java.lang.String newUserPW)
Sets the value of the password used for authentication with the Socks 5 Proxy. |
void |
StartCommunication()
Starts the communications link to the host. |
void |
StopCommunication()
|
void |
syncStopCommunication()
Stops the communications link to the host. |
void |
UnregisterCommEvent(ECLCommNotify notify)
Unregisters a notification object previously registered with the RegisterCommEvent() method. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
run |
Field Detail |
public static final int CONNECTION_INIT
public static final int CONNECTION_PND_INACTIVE
public static final int CONNECTION_INACTIVE
public static final int CONNECTION_PND_ACTIVE
public static final int CONNECTION_ACTIVE
public static final int CONNECTION_READY
public static final int CONNECTION_DEVICE_NAME_READY
public static final int CONNECTION_WORKSTATION_ID_READY
public static final int CONNECTION_AUTOMATIC_INCREMENT_FAILED
public static final int CONNECTION_LOCAL_CLIENT_NOT_FOUND
public static final int CONNECTION_DEVNAME_IN_USE
public static final int ENCRYPTION_NONE
public static final int ENCRYPTION_NOKEY
public static final int ENCRYPTION_40BIT
public static final int ENCRYPTION_56BIT
public static final int ENCRYPTION_128BIT
public static final int ENCRYPTION_168BIT
Method Detail |
public int GetConnType()
public int GetEncryptionLevel()
public java.lang.String GetName()
public java.lang.String GetLabel()
public int GetCodePage()
public java.lang.String GetHost()
For Personal Communications, the value returned
by this method is the name of the .WS session configuration file.
public int GetPort()
This method is only supported by Host On-Demand.
public int GetTimeout()
public boolean IsCommStarted()
public boolean IsCommReady()
public int GetCommStatus()
public boolean IsDeviceNameReady()
This method is only supported by Host On-Demand.
GetDeviceName()
public java.lang.String GetDeviceName()
This method is only supported by Host On-Demand.
IsDeviceNameReady()
public boolean IsWorkstationIDReady()
This method is only supported by Host On-Demand.
GetDeviceName()
public java.lang.String GetWorkstationID()
This method is only supported by Host On-Demand.
public void StartCommunication()
public void StopCommunication()
public void syncStopCommunication()
public void RegisterCommEvent(ECLCommNotify notify, boolean initEvent)
ECLCommNotify objects can be unregistered using the UnregisterCommEvent() method.
notify
- ECLCommNotify object which is notified when
events occur.initEvent
- Boolean indicating whether or not an initial
notification should be sent out for the
initial state of communications.UnregisterCommEvent(com.ibm.eNetwork.ECL.ECLCommNotify)
,
ECLCommNotify
public void UnregisterCommEvent(ECLCommNotify notify)
notify
- ECLCommNotify object which should be
unregistered.RegisterCommEvent(com.ibm.eNetwork.ECL.ECLCommNotify, boolean)
,
ECLCommNotify
public java.util.Properties getProperties()
public java.lang.String GetCICSServer()
This method is only supported by Host On-Demand.
public int GetCICSGWCodePage()
This method is only supported by Host On-Demand.
public java.lang.String getCertificateName()
setCertificateName(java.lang.String)
public void setCertificateName(java.lang.String name)
name
- The client certificate name.getCertificateName()
public boolean getCertificateNameAdmin()
public boolean getignoreWellKnownTrustedCAsOption()
public void setCertificatePromptHowOften(java.lang.String howOften)
The possible values are
Constant | Description |
---|---|
ECLSession.SESSION_SSL_CERTIFICATE_PROMPT_EACH_CONNECT | Prompt each connect with the host |
ECLSession.SESSION_SSL_CERTIFICATE_PROMPT_FIRST_CONNECT | Prompt only the first connect with the host |
ECLSession.SESSION_SSL_CERTIFICATE_PROMPT_ONLY_ONCE | Prompt only once |
ECLSession.SESSION_SSL_CERTIFICATE_DO_NOT_PROMPT | Prompting is disabled |
howOften
- The value for how often the client certificate should be promptedpublic boolean getCertificatePromptHowOftenAdmin()
setCertificatePromptHowOften(java.lang.String)
public java.lang.String customAIDHandlingList()
public boolean isTCPNODELAY()
public boolean isENPTUI()
public boolean isPrintDestination()
This method is only supported by Host On-Demand.
public boolean isSeparateFiles()
This method is only supported by Host On-Demand.
public boolean isQuietMode()
public void setProxyUserID(java.lang.String newUserID)
newUserID
- The user id definded on the Socks v5 proxygetProxyUserID()
public java.lang.String getProxyUserID()
setProxyUserID(java.lang.String)
public void setProxyUserPassword(java.lang.String newUserPW)
newUserPW
- The password associated with the user id definded on the Socks v5 proxygetProxyUserPassword()
public java.lang.String getProxyUserPassword()
setProxyUserPassword(java.lang.String)
public void setProxyType(java.lang.String newProxyType)
newProxyType
- The type of proxy to connect throughgetProxyType()
public java.lang.String getProxyType()
setProxyType(java.lang.String)
public void setProxyServerName(java.lang.String hostName)
hostName
- The host name of the proxy server as either a fully qualified name or an IP addressgetProxyServerName()
public java.lang.String getProxyServerName()
setProxyServerName(java.lang.String)
public void setProxyServerPort(java.lang.String port)
port
- The port number to connect to on the proxy servergetProxyServerPort()
public java.lang.String getProxyServerPort()
setProxyServerPort(java.lang.String)
public void setProxyAuthenMethod(java.lang.String authMethod)
authMethod
- The authenitcation method to use when connecting to the Socks v5 proxygetProxyAuthenMethod()
public java.lang.String getProxyAuthenMethod()
setProxyAuthenMethod(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |