|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.cics.core.comm.AbstractConnectable
public abstract class AbstractConnectable
Abstract superclass for IConnectable implementations.
| Constructor Summary | |
|---|---|
AbstractConnectable()
|
|
| Method Summary | |
|---|---|
void |
addListener(IConnectableListener connectableListener)
Deprecated. |
void |
disconnect()
Disconnects the underlying IConnection that is being used to provide this service. |
IConnection |
getConnection()
Retrieves the IConnection being used by this IConnectable. |
boolean |
isConnected()
Determines whether or not the services provided by this IConnectable are currently available. |
void |
removeListener(IConnectableListener listener)
Deprecated. No longer used. |
void |
setConnection(IConnection connection)
Sets the underlying IConnection to be used by this IConnectable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.cics.core.comm.IConnectable |
|---|
getConnectionType |
| Constructor Detail |
|---|
public AbstractConnectable()
| Method Detail |
|---|
public void setConnection(IConnection connection)
IConnectableIConnection to be used by this IConnectable. The connection should
be supplied in a connected state.
setConnection in interface IConnectablepublic IConnection getConnection()
IConnectableIConnection being used by this IConnectable.
getConnection in interface IConnectableIConnectable or nullpublic boolean isConnected()
IConnectable
isConnected in interface IConnectable
public void disconnect()
throws ConnectionException
IConnectableIConnection that is being used to provide this service.
disconnect in interface IConnectableConnectionException - if there is a problem when disconnecting.@Deprecated public void addListener(IConnectableListener connectableListener)
addListener in interface IConnectable@Deprecated public void removeListener(IConnectableListener listener)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||