Interface AdapterSelector.AdapterProvider<O,I,CO,CI>

Type Parameters:
O - the output type from the underlying machine/platform
I - the input type to the underlying machine/platform
CO - the output type of the connector
CI - 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 Type
    Method
    Description
    getAdapter(int index)
    Returns the specified adapter.
    int
    Returns the total number of adapters.
  • Method Details

    • getAdapterCount

      int getAdapterCount()
      Returns the total number of adapters.
      Returns:
      the total number
    • getAdapter

      ProtocolAdapter<O,I,CO,CI> getAdapter(int index)
      Returns the specified adapter.
      Parameters:
      index - the 0-based index
      Returns:
      the adapter
      Throws:
      IndexOutOfBoundsException - of index not in [0;getAdapterCount()-1]