public class AddressedPluginMessage
extends java.lang.Object
PluginMessage together with the message's sender and recipient
You can compare it with a letter in an envelope, where the letter itself is the PluginMessage, and the AddressedPluginMessage is the envelope which contains the letter and information about the sender and the recipient.| Constructor and Description |
|---|
AddressedPluginMessage(MessageClientAddress sender,
MessageClientAddress recipient,
PluginMessage message) |
AddressedPluginMessage(MessageClientAddress recipient,
PluginMessage message) |
| Modifier and Type | Method and Description |
|---|---|
PluginMessage |
getMessage() |
MessageClientAddress |
getRecipient() |
MessageClientAddress |
getSender() |
public AddressedPluginMessage(MessageClientAddress recipient, PluginMessage message)
public AddressedPluginMessage(MessageClientAddress sender, MessageClientAddress recipient, PluginMessage message)
public MessageClientAddress getSender()
public MessageClientAddress getRecipient()
public PluginMessage getMessage()