com.ibm.cics.core.comm
Interface IConnectable2

All Superinterfaces:
IConnectable

public interface IConnectable2
extends IConnectable

Extends the IConnectable service interface with methods that provide improved listener capabilities.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void addListener(IConnectableListener2 connectableListener)
          Adds a new IConnectableListener2.
 void removeListener(IConnectableListener2 connectableListener)
          Removes an existing IConnectableListener2.
 
Methods inherited from interface com.ibm.cics.core.comm.IConnectable
addListener, disconnect, getConnection, getConnectionType, isConnected, setConnection
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

addListener

void addListener(IConnectableListener2 connectableListener)
Adds a new IConnectableListener2.

Parameters:
connectableListener - The listener to add

removeListener

void removeListener(IConnectableListener2 connectableListener)
Removes an existing IConnectableListener2. Has no effect if the listener is not reigstered on this IConnectable2

Parameters:
connectableListener - The listener to remove.


Copyright © 2013 IBM Corp. All Rights Reserved.