Interface TableDataProtocolDriver
- All Known Implementing Classes:
TableDataProtocolDriverImpl
public interface TableDataProtocolDriver
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
connect
(com.fishlib.base.Function.Nullary<SocketAddress> addressFunction) Connect to a remote server by address function, allowing fallback to different server addresses.void
Connect to a remote server.void
connect
(InetSocketAddress address) Connect to a remote server.removePendingRequest
(long requestKey) void
shutdown()
-
Method Details
-
authenticate
void authenticate() -
connect
Connect to a remote server.- Parameters:
address
- The host/port to connect to- Throws:
IOException
-
connect
Connect to a remote server.- Parameters:
host
- The host to connect toport
- 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
-
takeOrAllocateFreeRequest
-
getLogPrefix
String getLogPrefix()
-