Interface TableDataProtocolDriver

All Known Implementing Classes:
TableDataProtocolDriverImpl

public interface TableDataProtocolDriver
  • Method Details

    • authenticate

      void authenticate()
    • connect

      void connect(@NotNull InetSocketAddress address) throws IOException
      Connect to a remote server.
      Parameters:
      address - The host/port to connect to
      Throws:
      IOException
    • connect

      void connect(@NotNull String host, int port) throws IOException
      Connect to a remote server.
      Parameters:
      host - The host to connect to
      port - The port to connect to
      Throws:
      IOException
    • connect

      void connect(@NotNull com.fishlib.base.Function.Nullary<SocketAddress> addressFunction) throws IOException
      Connect to a remote server by address function, allowing fallback to different server addresses.
      Parameters:
      addressFunction - The address function to determine each connection attempt's host and port
      Throws:
      IOException
    • shutdown

      void shutdown()
    • removePendingRequest

      @Nullable TableDataRequest removePendingRequest(long requestKey)
    • takeOrAllocateFreeRequest

      @NotNull TableDataRequest takeOrAllocateFreeRequest()
    • getLogPrefix

      String getLogPrefix()