public class ReplyExceptionMessageCodec extends Object implements MessageCodec<ReplyException,ReplyException>
| Constructor and Description |
|---|
ReplyExceptionMessageCodec() |
| Modifier and Type | Method and Description |
|---|---|
ReplyException |
decodeFromWire(int pos,
Buffer buffer)
Called by Vert.x when a message is decoded from the wire.
|
void |
encodeToWire(Buffer buffer,
ReplyException body)
Called by Vert.x when marshalling a message to the wire.
|
String |
name()
The codec name.
|
byte |
systemCodecID()
Used to identify system codecs.
|
ReplyException |
transform(ReplyException exception)
If a message is sent locally across the event bus, this method is called to transform the message from
the sent type S to the received type R
|
public void encodeToWire(Buffer buffer, ReplyException body)
MessageCodecencodeToWire in interface MessageCodec<ReplyException,ReplyException>buffer - the message should be written into this bufferbody - the message that is being sentpublic ReplyException decodeFromWire(int pos, Buffer buffer)
MessageCodecdecodeFromWire in interface MessageCodec<ReplyException,ReplyException>pos - the position in the buffer where the message should be read from.buffer - the buffer to read the message frompublic ReplyException transform(ReplyException exception)
MessageCodectransform in interface MessageCodec<ReplyException,ReplyException>exception - the sent messagepublic String name()
MessageCodecname in interface MessageCodec<ReplyException,ReplyException>public byte systemCodecID()
MessageCodecsystemCodecID in interface MessageCodec<ReplyException,ReplyException>Copyright © 2020. All rights reserved.