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 aConsumerand aHandlerat 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 voidaccept(U event)booleanequals(Object o)voidhandle(U event)inthashCode()
-