public abstract class AbstractReceivable<T> extends Object implements IReceivable<T>
Constructor and Description |
---|
AbstractReceivable() |
Modifier and Type | Method and Description |
---|---|
void |
addMetadata(String theKey,
Object theValue)
Add a metadata value
|
Map<String,Object> |
getMetadata()
Returns a map containing other metadata about the message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage
public AbstractReceivable()
public void addMetadata(String theKey, Object theValue)
theKey
- The keytheValue
- The valueNullPointerException
- If theKey is nullpublic Map<String,Object> getMetadata()
getMetadata
in interface IReceivable<T>
Copyright © 2012–2017 University Health Network. All rights reserved.