Interface ConnectorFactory

All Known Implementing Classes:
TcpConnectorFactory

public interface ConnectorFactory
Creates Connectors for a specific host.
Author:
Paul Speed
  • Method Summary

    Modifier and Type
    Method
    Description
    createConnector(int channel, int port)
    Creates a connector for the specified channel and remote port.
  • Method Details

    • createConnector

      Connector createConnector(int channel, int port) throws IOException
      Creates a connector for the specified channel and remote port.
      Parameters:
      channel - the logical channel index
      port - the remote port to connect to
      Returns:
      the created connector
      Throws:
      IOException - if the connector cannot be created