Package org.elasticsearch.test.transport
Interface StubbableTransport.RequestHandlingBehavior<Request extends TransportRequest>
- Enclosing class:
- StubbableTransport
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface StubbableTransport.RequestHandlingBehavior<Request extends TransportRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
void
messageReceived
(TransportRequestHandler<Request> handler, Request request, TransportChannel channel, Task task)
-
Method Details
-
messageReceived
void messageReceived(TransportRequestHandler<Request> handler, Request request, TransportChannel channel, Task task) throws Exception - Throws:
Exception
-
clearCallback
default void clearCallback()
-