|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.cics.core.comm.AbstractConnection
public abstract class AbstractConnection
Abstract implementation of IConnection
| Constructor Summary | |
|---|---|
AbstractConnection()
|
|
| Method Summary | |
|---|---|
ConnectionConfiguration |
getConfiguration()
Get the configuration associated with this connections. |
java.lang.String |
getHost()
Deprecated. |
java.lang.String |
getName()
|
protected java.lang.String |
getPassword()
Deprecated. Clients should call getConfiguration() and retrieve the password from there, as not
all connections require a password. |
int |
getPort()
Deprecated. |
java.lang.String |
getUserID()
Deprecated. |
protected boolean |
hasNullConfiguration()
Indicates whether or not this connection has had a ConnectionConfiguration set yet. |
boolean |
isSecure()
Deprecated. |
void |
setConfiguration(ConnectionConfiguration connectionConfiguration)
Sets the ConnectionConfiguration to be used by this connection. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.cics.core.comm.IConnection |
|---|
connect, disconnect, isConnected |
| Constructor Detail |
|---|
public AbstractConnection()
| Method Detail |
|---|
public void setConfiguration(ConnectionConfiguration connectionConfiguration)
IConnectionConnectionConfiguration to be used by this connection. This should be set before
attempting to connect. Any connections that are established subsequently will use this configuration.
setConfiguration in interface IConnectionconnectionConfiguration - the connection configuration to use when connecting.public ConnectionConfiguration getConfiguration()
setConfiguration(ConnectionConfiguration).
getConfiguration in interface IConnectionConnectionConfiguration associated with this connection, or a null object if none has been set.public java.lang.String getName()
getName in interface IConnectionConnectionConfiguration associated with this connection, or null if none.public java.lang.String toString()
toString in class java.lang.Object@Deprecated public boolean isSecure()
isSecure in interface IConnection@Deprecated public java.lang.String getHost()
getHost in interface IConnectionConnectionConfiguration associated with this connection, or null if none.@Deprecated public int getPort()
getPort in interface IConnectionConnectionConfiguration associated with this connection, or 0 if none.@Deprecated public java.lang.String getUserID()
getUserID in interface IConnectionConnectionConfiguration associated with this connection, or null if none.@Deprecated protected java.lang.String getPassword()
getConfiguration() and retrieve the password from there, as not
all connections require a password.
ConnectionConfiguration associated with this connection, or null if
no configuration has been set.protected boolean hasNullConfiguration()
ConnectionConfiguration set yet.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||