public class MessageData extends Domain implements JsonSerializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MESSAGE_BASE_TYPE
Base Type for this telemetry.
|
static java.lang.String |
MESSAGE_ENVELOPE_NAME
Envelope Name for this telemetry.
|
Constructor and Description |
---|
MessageData()
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseTypeName() |
java.lang.String |
getEnvelopName() |
java.lang.String |
getMessage() |
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String> |
getProperties() |
SeverityLevel |
getSeverityLevel() |
int |
getVer() |
protected void |
InitializeFields() |
protected void |
serializeContent(JsonTelemetryDataSerializer writer)
Serializes the beginning of this object to the passed in writer.
|
void |
setMessage(java.lang.String value) |
void |
setProperties(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String> value) |
void |
setSeverityLevel(SeverityLevel value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serialize
public static final java.lang.String MESSAGE_ENVELOPE_NAME
public static final java.lang.String MESSAGE_BASE_TYPE
public int getVer()
public java.lang.String getMessage()
public void setMessage(java.lang.String value)
public SeverityLevel getSeverityLevel()
public void setSeverityLevel(SeverityLevel value)
public java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String> getProperties()
public void setProperties(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String> value)
protected void serializeContent(JsonTelemetryDataSerializer writer) throws java.io.IOException
Domain
serializeContent
in class Domain
writer
- The writer to serialize this object to.java.io.IOException
- Might be throw during serialization.public java.lang.String getEnvelopName()
getEnvelopName
in interface SendableData
getEnvelopName
in class Domain
public java.lang.String getBaseTypeName()
getBaseTypeName
in interface SendableData
getBaseTypeName
in class Domain
protected void InitializeFields()
InitializeFields
in class Domain