Interface TableDataProtocolDriver
- All Known Implementing Classes:
TableDataProtocolDriverImpl
public interface TableDataProtocolDriver
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconnect(com.fishlib.base.Function.Nullary<SocketAddress> addressFunction) Connect to a remote server by address function, allowing fallback to different server addresses.voidConnect to a remote server.voidconnect(InetSocketAddress address) Connect to a remote server.removePendingRequest(long requestKey) voidshutdown()
-
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()
-