public static interface ResponsePump.Factory
| Modifier and Type | Method and Description |
|---|---|
default @NotNull ResponsePump |
newPump(@NotNull ConnectionSocket socket)
Deprecated.
Implement the
newPump(ConnectionSocket, boolean) method.
(Will be removed on v2.5.0) |
@NotNull ResponsePump |
newPump(@NotNull ConnectionSocket socket,
boolean daemonThreads)
Creates a new response pump using the provided connection socket.
|
@Deprecated @NotNull default @NotNull ResponsePump newPump(@NotNull @NotNull ConnectionSocket socket)
newPump(ConnectionSocket, boolean) method.
(Will be removed on v2.5.0)socket - the ConnectionSocket to pump response pumps fromResponsePump.@NotNull @NotNull ResponsePump newPump(@NotNull @NotNull ConnectionSocket socket, boolean daemonThreads)
socket - the ConnectionSocket to pump response pumps fromdaemonThreads - suggestion for using daemon threads and not blocking the process to exit.ResponsePump.