public class MuxWrapper
extends java.lang.Object
| Constructor and Description |
|---|
MuxWrapper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Get key against which this message will be processed.
|
java.lang.Object |
getObj()
Get data to be consumed by actual consumer.
|
MuxWrapper |
setKey(java.lang.String type)
Set the key against which this data will be processed.
|
MuxWrapper |
setObj(java.lang.Object obj)
Set the data in the message.
|
public java.lang.Object getObj()
public MuxWrapper setObj(java.lang.Object obj)
obj - Data which needs to be sentpublic java.lang.String getKey()
public MuxWrapper setKey(java.lang.String type)
type - Type of message