public class WrappedBusMessage extends Message
BusMessage
(ServiceRequest,
ServiceResponse, ContextEvent, UIRequest UIResponse).inResponseTo
Constructor and Description |
---|
WrappedBusMessage(String destination,
ScopedResource busMessage)
Constructor of a wrapped Message.
|
WrappedBusMessage(WrappedBusMessage wrappedbusMessageRequest,
ScopedResource busMessage)
Constructor for a WrapedMessage response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContent()
Returns content of the message.
|
ScopedResource |
getMessage()
Un-marshal the Content into a BusMessage.
|
String |
getRemoteProxyRegistrationId()
Get the destination Proxy BusMemberID.
|
int |
hashCode() |
String |
toString() |
getInResponseTo, getSequence, isResponse
public WrappedBusMessage(String destination, ScopedResource busMessage)
destination
- the remote BusMemberId how should handle the message.busMessage
- The message it self.public WrappedBusMessage(WrappedBusMessage wrappedbusMessageRequest, ScopedResource busMessage)
wrappedbusMessageRequest
- busMessage
- public String getContent()
public String getRemoteProxyRegistrationId()
public ScopedResource getMessage()
Copyright © 2018 universAAL Consortium. All rights reserved.