Interface AdapterSelector.AdapterProvider<O,I,CO,CI>
- Type Parameters:
O- the output type from the underlying machine/platformI- the input type to the underlying machine/platformCO- the output type of the connectorCI- the input type of the connector
- All Known Subinterfaces:
ChannelAdapterSelector.ChannelAdapterProvider<O,I, CO, CI>
- All Known Implementing Classes:
AbstractChannelConnector.ChannelAdapterProvider,AbstractConnector.BasicAdapterProvider
- Enclosing interface:
AdapterSelector<O,I, CO, CI>
public static interface AdapterSelector.AdapterProvider<O,I,CO,CI>
Provides access to adapter data.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptiongetAdapter(int index) Returns the specified adapter.intReturns the total number of adapters.
-
Method Details
-
getAdapterCount
int getAdapterCount()Returns the total number of adapters.- Returns:
- the total number
-
getAdapter
Returns the specified adapter.- Parameters:
index- the 0-based index- Returns:
- the adapter
- Throws:
IndexOutOfBoundsException- ofindexnot in [0;getAdapterCount()-1]
-