Interface Channel

All Known Implementing Classes:
ChannelAdaptor, MultiSessionChannelAdaptor, OneShotChannelAdaptor, OneShotChannelAdaptorMK2

public interface Channel
Channel interface
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Receives an ISO message from this channel.
    receive(long timeout)
    Receives an ISO message, waiting at most timeout milliseconds.
    void
    Sends an ISO message over this channel.
  • Method Details

    • send

      void send(ISOMsg m)
      Sends an ISO message over this channel.
      Parameters:
      m - message to send
    • receive

      Receives an ISO message from this channel.
      Returns:
      received message
    • receive

      ISOMsg receive(long timeout)
      Receives an ISO message, waiting at most timeout milliseconds.
      Parameters:
      timeout - time to wait for a message
      Returns:
      received message or null on timeout