@Deprecated
public class NBEventGenerator
extends java.lang.Object
| Constructor and Description |
|---|
NBEventGenerator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
NBEvent |
generateEvent(int templateId,
int source,
boolean suppressDistToSource,
boolean timestamp,
boolean useHRtimestamp,
boolean useNtpTimestamp,
int timeToLive,
boolean generateId,
boolean isCorrelated,
EventID correlationId,
boolean persistent,
int priority,
int contentSynopsisType,
java.lang.Object contentSynopsis,
byte[] contentPayload)
Deprecated.
|
NBEvent |
getCoalescedEvent(NBEvent fragmentEvent,
byte[] coalescedPayload)
Deprecated.
This method is used to create a coalesced event from the information
supplied by the coalescing service.
|
NBEvent |
getFragmentedEvent(NBEvent nbEvent,
java.lang.String filename,
long originalLength,
byte[] fragmentedPayload,
int fragmentNumber,
int totalNumberOfFragments,
long fragmentationEpoch)
Deprecated.
This method is used to create a fragmented event from the information
supplied by the fragmentation service.
|
static void |
setEventType(NBEvent nbEvent,
int eventType)
Deprecated.
|
void |
setPayload(NBEvent nbEvent,
byte[] newPayload)
Deprecated.
|
static NBEvent |
unmarshallEvent(byte[] nbEventBytes)
Deprecated.
|
void |
updateAssertionsInformation(NBEvent nbEvent,
java.lang.String assertions)
Deprecated.
This method is used to update security information for an event
|
void |
updateCompressionInformation(NBEvent nbEvent,
java.lang.String compressionAlgo,
long originalPayloadLength,
boolean isPayloadCompressionFinalStep,
byte[] compressedPayload)
Deprecated.
This method is used to update compression information for an event
|
NBEvent |
updateContentSynopsisInfo(NBEvent nbEvent,
int contentSynopsisType,
java.lang.Object contentSynopsis)
Deprecated.
|
static void |
updateDistributionTraces(NBEvent nbEvent,
DistributionTraces traces)
Deprecated.
|
void |
updateEncryptedPayloadInformation(NBEvent nbEvent,
byte[] securePayload,
byte[] cipherIV,
java.lang.String cipherMode,
java.lang.String cipherPaddingScheme)
Deprecated.
|
static void |
updateIntegrityInformation(NBEvent nbEvent,
java.lang.String digestScheme,
byte[] messageDigest)
Deprecated.
This method is used to update integrity information for an event
|
void |
updateSignatureInformation(NBEvent nbEvent,
java.lang.String signatureAlgorithm,
byte[] signature)
Deprecated.
|
void |
updateSlicedInformation(NBEvent nbEvent,
int sliceStartingPoint,
int sliceEndingPoint)
Deprecated.
This method is used to update slice information for an event
|
NBEvent |
updateTimestampInfo(NBEvent nbEvent,
long publishTimestamp)
Deprecated.
|
void |
updateWithDecompressedPayload(NBEvent nbEvent,
byte[] decompressedPayload)
Deprecated.
|
void |
updateWithDecryptedPayload(NBEvent nbEvent,
byte[] decryptedPayload)
Deprecated.
|
void |
updateWithEncryptedPayload(NBEvent nbEvent,
byte[] encryptedPayload)
Deprecated.
|
public NBEvent updateTimestampInfo(NBEvent nbEvent, long publishTimestamp)
public NBEvent updateContentSynopsisInfo(NBEvent nbEvent, int contentSynopsisType, java.lang.Object contentSynopsis)
public NBEvent generateEvent(int templateId, int source, boolean suppressDistToSource, boolean timestamp, boolean useHRtimestamp, boolean useNtpTimestamp, int timeToLive, boolean generateId, boolean isCorrelated, EventID correlationId, boolean persistent, int priority, int contentSynopsisType, java.lang.Object contentSynopsis, byte[] contentPayload) throws ServiceException
ServiceExceptionpublic void updateEncryptedPayloadInformation(NBEvent nbEvent, byte[] securePayload, byte[] cipherIV, java.lang.String cipherMode, java.lang.String cipherPaddingScheme)
public void updateSignatureInformation(NBEvent nbEvent, java.lang.String signatureAlgorithm, byte[] signature)
public void updateAssertionsInformation(NBEvent nbEvent, java.lang.String assertions)
public static void updateIntegrityInformation(NBEvent nbEvent, java.lang.String digestScheme, byte[] messageDigest)
public NBEvent getFragmentedEvent(NBEvent nbEvent, java.lang.String filename, long originalLength, byte[] fragmentedPayload, int fragmentNumber, int totalNumberOfFragments, long fragmentationEpoch) throws ServiceException
ServiceExceptionpublic NBEvent getCoalescedEvent(NBEvent fragmentEvent, byte[] coalescedPayload) throws ServiceException
ServiceExceptionpublic void updateSlicedInformation(NBEvent nbEvent, int sliceStartingPoint, int sliceEndingPoint)
public void updateCompressionInformation(NBEvent nbEvent, java.lang.String compressionAlgo, long originalPayloadLength, boolean isPayloadCompressionFinalStep, byte[] compressedPayload)
public void updateWithDecompressedPayload(NBEvent nbEvent, byte[] decompressedPayload)
public void updateWithEncryptedPayload(NBEvent nbEvent, byte[] encryptedPayload)
public void updateWithDecryptedPayload(NBEvent nbEvent, byte[] decryptedPayload)
public void setPayload(NBEvent nbEvent, byte[] newPayload)
public static void updateDistributionTraces(NBEvent nbEvent, DistributionTraces traces)
public static void setEventType(NBEvent nbEvent, int eventType)
public static NBEvent unmarshallEvent(byte[] nbEventBytes)