public class ClusteredMessage<U,V> extends MessageImpl<U,V>
address, bus, headers, messageCodec, receivedBody, replyAddress, send, sentBody, trace| Modifier | Constructor and Description |
|---|---|
protected |
ClusteredMessage(ClusteredMessage<U,V> other) |
|
ClusteredMessage(EventBusImpl bus) |
|
ClusteredMessage(String sender,
String address,
MultiMap headers,
U sentBody,
MessageCodec<U,V> messageCodec,
boolean send,
EventBusImpl bus) |
| Modifier and Type | Method and Description |
|---|---|
V |
body()
The body of the message.
|
ClusteredMessage<U,V> |
copyBeforeReceive() |
protected MessageImpl |
createReply(Object message,
DeliveryOptions options) |
Buffer |
encodeToWire() |
MultiMap |
headers()
Multi-map of message headers.
|
boolean |
isFromWire() |
protected boolean |
isLocal() |
boolean |
isToWire() |
void |
readFromWire(Buffer buffer,
CodecManager codecManager) |
String |
replyAddress()
The reply address.
|
address, codec, isSend, reply, replyAndRequest, setReplyAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfail, reply, replyAndRequest, replyAndRequest, replyAndRequestpublic ClusteredMessage(EventBusImpl bus)
public ClusteredMessage(String sender, String address, MultiMap headers, U sentBody, MessageCodec<U,V> messageCodec, boolean send, EventBusImpl bus)
protected ClusteredMessage(ClusteredMessage<U,V> other)
protected MessageImpl createReply(Object message, DeliveryOptions options)
createReply in class MessageImpl<U,V>public ClusteredMessage<U,V> copyBeforeReceive()
copyBeforeReceive in class MessageImpl<U,V>public MultiMap headers()
Messagepublic V body()
Messagepublic String replyAddress()
MessagereplyAddress in interface Message<V>replyAddress in class MessageImpl<U,V>public Buffer encodeToWire()
public void readFromWire(Buffer buffer, CodecManager codecManager)
public boolean isFromWire()
public boolean isToWire()
protected boolean isLocal()
isLocal in class MessageImpl<U,V>Copyright © 2021. All rights reserved.