public class Reactor2StompCodec extends reactor.io.codec.Codec<reactor.io.buffer.Buffer,Message<byte[]>,Message<byte[]>>
Codec
for sending and receiving STOMP messages.Constructor and Description |
---|
Reactor2StompCodec() |
Reactor2StompCodec(StompEncoder encoder,
StompDecoder decoder) |
Modifier and Type | Method and Description |
---|---|
reactor.io.buffer.Buffer |
apply(Message<byte[]> message) |
reactor.fn.Function<reactor.io.buffer.Buffer,Message<byte[]>> |
decoder(reactor.fn.Consumer<Message<byte[]>> messageConsumer) |
reactor.fn.Function<Message<byte[]>,reactor.io.buffer.Buffer> |
encoder() |
public Reactor2StompCodec()
public Reactor2StompCodec(StompEncoder encoder, StompDecoder decoder)
public reactor.fn.Function<reactor.io.buffer.Buffer,Message<byte[]>> decoder(reactor.fn.Consumer<Message<byte[]>> messageConsumer)
public reactor.fn.Function<Message<byte[]>,reactor.io.buffer.Buffer> encoder()
public reactor.io.buffer.Buffer apply(Message<byte[]> message)