Module org.jgroups.raft
Package org.jgroups.protocols.raft
Class CLIENT.RequestHandler.CompletionHandler
java.lang.Object
org.jgroups.protocols.raft.CLIENT.RequestHandler.CompletionHandler
- All Implemented Interfaces:
BiConsumer<byte[],Throwable>
- Enclosing class:
CLIENT.RequestHandler
protected class CLIENT.RequestHandler.CompletionHandler
extends Object
implements BiConsumer<byte[],Throwable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DataInputStreamprotected final DataOutputStreamprotected final intprotected final Socket -
Constructor Summary
ConstructorsConstructorDescriptionCompletionHandler(Socket client_sock, DataInputStream input, DataOutputStream output, int req) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
s
-
input
-
output
-
req_id
protected final int req_id
-
-
Constructor Details
-
CompletionHandler
public CompletionHandler(Socket client_sock, DataInputStream input, DataOutputStream output, int req)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<byte[],Throwable>
-