
public class ConfigurationMessage extends Object implements BrokerMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurationMessage.ConfigurationMessageType |
BrokerMessage.BrokerMessageTypes| Constructor and Description |
|---|
ConfigurationMessage() |
ConfigurationMessage(ConfigurationMessage.ConfigurationMessageType mType,
PeerCard sender,
String propagateSerialized)
Create a new Configuration Message.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationMessage |
createResoponse(String serializedParam) |
ConfigurationMessage.ConfigurationMessageType |
getMessageType() |
BrokerMessage.BrokerMessageTypes |
getMType() |
String |
getPayload() |
PeerCard[] |
getReceivers() |
boolean |
isRequest() |
boolean |
isSentFrom(PeerCard sender) |
String |
toString() |
static ConfigurationMessage |
unmarshall(String message) |
public ConfigurationMessage()
public ConfigurationMessage(ConfigurationMessage.ConfigurationMessageType mType, PeerCard sender, String propagateSerialized)
mType - the type of the message to sentsender - the sender of this messagepropagateSerialized - public ConfigurationMessage.ConfigurationMessageType getMessageType()
public String getPayload()
public BrokerMessage.BrokerMessageTypes getMType()
getMType in interface BrokerMessagepublic PeerCard[] getReceivers()
getReceivers in interface BrokerMessagepublic boolean isRequest()
public ConfigurationMessage createResoponse(String serializedParam)
public String toString()
toString in interface BrokerMessagetoString in class Objectpublic static ConfigurationMessage unmarshall(String message) throws Exception
Exceptionpublic boolean isSentFrom(PeerCard sender)
Copyright © 2018 universAAL Consortium. All rights reserved.