Package io.quarkus.vertx
Class LocalEventBusCodec<T>
- java.lang.Object
-
- io.quarkus.vertx.LocalEventBusCodec<T>
-
- Type Parameters:
T- the type of object supported by this codec.
- All Implemented Interfaces:
io.vertx.core.eventbus.MessageCodec<T,T>
public class LocalEventBusCodec<T> extends Object implements io.vertx.core.eventbus.MessageCodec<T,T>
An implementation ofMessageCodecfor local delivery only. It does not support the clustered event bus.The
transform(Object)method returns the passed instance. So make sure it's immutable.
-
-
Constructor Summary
Constructors Constructor Description LocalEventBusCodec()LocalEventBusCodec(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TdecodeFromWire(int pos, io.vertx.core.buffer.Buffer buffer)voidencodeToWire(io.vertx.core.buffer.Buffer buffer, T t)Stringname()bytesystemCodecID()Ttransform(T instance)
-
-
-
Constructor Detail
-
LocalEventBusCodec
public LocalEventBusCodec()
-
LocalEventBusCodec
public LocalEventBusCodec(String name)
-
-