com.ibm.cics.core.comm
Interface IParentConnectable

All Superinterfaces:
IConnectable

public interface IParentConnectable
extends IConnectable

IConnectable implementation that manages connections to multiple services with shared lifecycle.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.lang.String[] getChildCategories()
          Returns the connection category IDs of all child connections supported by this IParentConnectable.
 IConnection getChildConnection(java.lang.String childCategory)
          Returns the IConnection implementation for a child connection associated with a specific category.
 
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

getChildCategories

java.lang.String[] getChildCategories()
Returns the connection category IDs of all child connections supported by this IParentConnectable.

Returns:
an array of connection category IDs

getChildConnection

IConnection getChildConnection(java.lang.String childCategory)
Returns the IConnection implementation for a child connection associated with a specific category.

Parameters:
childCategory - connection category ID of the desired child connection
Returns:
an IConnection or null if no child connection is provided for the supplied ID.


Copyright © 2013 IBM Corp. All Rights Reserved.