@Deprecated public class NBEventImpl extends java.lang.Object implements NBEvent
| Constructor and Description |
|---|
NBEventImpl()
Deprecated.
|
NBEventImpl(byte[] eventBytes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Deprecated.
Generates a byte stream representation of the event
|
byte[] |
getContentPayload()
Deprecated.
Get the content Payload
|
int |
getContentPayloadSize()
Deprecated.
Get the payload size
|
java.lang.Object |
getContentSynopsis()
Deprecated.
Retrieves the synopis associated with the content
|
int |
getContentSynopsisType()
Deprecated.
Returns the type of the content synopsis
|
java.lang.String |
getContentType()
Deprecated.
Indicates the type of the content
|
DistributionTraces |
getDistributionTraces()
Deprecated.
Gets the distribution Traces associated with the event
|
EventHeaders |
getEventHeaders()
Deprecated.
Header information pertaining to the event
|
EventProperties |
getEventProperties()
Deprecated.
EventProperties associated with the event
|
int |
getEventType()
Deprecated.
Indicates the type of the event
|
boolean |
hasDistributionTraces()
Deprecated.
Indicates if the event has distribution traces
|
boolean |
hasEventHeaders()
Deprecated.
Indicates if this event has any event headers
|
boolean |
hasEventProperties()
Deprecated.
Indicates if this event has any user-defined properties
|
static void |
main(java.lang.String[] args)
Deprecated.
A utility method to test the NBEvent implementation
|
public NBEventImpl()
public NBEventImpl(byte[] eventBytes)
public int getEventType()
getEventType in interface NBEventpublic java.lang.String getContentType()
getContentType in interface NBEventpublic boolean hasEventHeaders()
hasEventHeaders in interface NBEventpublic EventHeaders getEventHeaders()
getEventHeaders in interface NBEventpublic boolean hasEventProperties()
hasEventProperties in interface NBEventpublic EventProperties getEventProperties()
getEventProperties in interface NBEventpublic int getContentSynopsisType()
getContentSynopsisType in interface NBEventpublic java.lang.Object getContentSynopsis()
getContentSynopsis in interface NBEventpublic int getContentPayloadSize()
getContentPayloadSize in interface NBEventpublic byte[] getContentPayload()
getContentPayload in interface NBEventpublic boolean hasDistributionTraces()
hasDistributionTraces in interface NBEventpublic DistributionTraces getDistributionTraces()
getDistributionTraces in interface NBEventpublic byte[] getBytes()
public static void main(java.lang.String[] args)