Package io.smallrye.mutiny.vertx
Class DelegatingConsumerHandler<U>
- java.lang.Object
-
- io.smallrye.mutiny.vertx.DelegatingConsumerHandler<U>
-
- Type Parameters:
U
-
- All Implemented Interfaces:
io.vertx.core.Handler<U>
,Consumer<U>
public class DelegatingConsumerHandler<U> extends Object implements Consumer<U>, io.vertx.core.Handler<U>
A class being aConsumer
and aHandler
at the same time, and which delegatehashCode()
andequals(Object)
to the consumer.
-
-
Constructor Summary
Constructors Constructor Description DelegatingConsumerHandler(Consumer<U> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(U event)
boolean
equals(Object o)
void
handle(U event)
int
hashCode()
-