org.universAAL.middleware.brokers.message.control
Class ControlMessage
java.lang.Object
org.universAAL.middleware.brokers.message.control.ControlMessage
- All Implemented Interfaces:
- BrokerMessage
public class ControlMessage
- extends Object
- implements BrokerMessage
Control message
- Version:
- $LastChangedRevision$ ( $LastChangedDate$ )
- Author:
- Michele Girolami, Francesco Furfari, Stefano Lenzi
Constructor Summary |
ControlMessage(AALSpaceDescriptor space,
ControlMessage.ControlMessageType type)
|
ControlMessage(AALSpaceDescriptor space,
ControlMessage.ControlMessageType type,
String id)
|
ControlMessage(AALSpaceDescriptor space,
List<String> attributes)
|
ControlMessage(AALSpaceDescriptor space,
Map<String,Serializable> filter)
|
ControlMessage(AALSpaceDescriptor space,
String id,
HashMap<String,Serializable> map)
|
ControlMessage(AALSpaceDescriptor space,
String id,
HashMap<String,Serializable> map,
boolean match)
|
ControlMessage
public ControlMessage(AALSpaceDescriptor space,
List<String> attributes)
ControlMessage
public ControlMessage(AALSpaceDescriptor space,
ControlMessage.ControlMessageType type)
ControlMessage
public ControlMessage(AALSpaceDescriptor space,
Map<String,Serializable> filter)
ControlMessage
public ControlMessage(AALSpaceDescriptor space,
String id,
HashMap<String,Serializable> map)
ControlMessage
public ControlMessage(AALSpaceDescriptor space,
String id,
HashMap<String,Serializable> map,
boolean match)
ControlMessage
public ControlMessage(AALSpaceDescriptor space,
ControlMessage.ControlMessageType type,
String id)
toString
public String toString()
- Specified by:
toString
in interface BrokerMessage
- Overrides:
toString
in class Object
getMatchFilter
public boolean getMatchFilter()
getMessageType
public ControlMessage.ControlMessageType getMessageType()
unmarshall
public static ControlMessage unmarshall(String message)
throws Exception
- Throws:
Exception
getTransactionId
public String getTransactionId()
getAttributeFilter
public Map<String,Serializable> getAttributeFilter()
getAttributeValues
public Map<String,Serializable> getAttributeValues()
getMType
public BrokerMessage.BrokerMessageTypes getMType()
- Specified by:
getMType
in interface BrokerMessage
getAttributes
public List<String> getAttributes()
getReceivers
public PeerCard[] getReceivers()
- To implement
- Specified by:
getReceivers
in interface BrokerMessage
Copyright © 2014 universAAL Consortium. All Rights Reserved.