public class EventlogRecord extends Object implements DCEReadable
Contains the details of an eventlog record in a remote event log.
Modifier and Type | Field and Description |
---|---|
static int |
IdCustomerCode |
static int |
IdEventCodeMask |
static int |
IdFacilityMask |
static int |
IdSeverityMask |
static int |
SeverityError |
static int |
SeverityInfo |
static int |
SeveritySuccess |
static int |
SeverityWarn |
static int |
TypeAuditFailure |
static int |
TypeAuditSuccess |
static int |
TypeError |
static int |
TypeInformation |
static int |
TypeSuccess |
static int |
TypeWarning |
Constructor and Description |
---|
EventlogRecord()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getEventCategory()
Return the event category
|
int |
getEventFacility()
Return the event facility code
|
String |
getEventHost()
Return the event that generated the event
|
int |
getEventId()
Return the event id
|
int |
getEventSeverity()
Return the event severity
|
String |
getEventSeverityAsString()
Return the event severity as a string
|
String |
getEventSource()
Return the event source
|
String |
getEventString()
Return the event strings as a concatenated string
|
StringList |
getEventStringList()
Return the event strings
|
int |
getEventType()
Return the event type
|
String |
getEventTypeAsString()
Return the event type as a string
|
int |
getRawEventId()
Return the raw/unmasked event id
|
int |
getRecordNumber()
Return the record number
|
Date |
getTimeGenerated()
Return the time the event was generated
|
Date |
getTimeWritten()
Return the time the event was written
|
boolean |
isCustomerEvent()
Check if this is a system or customer event
|
void |
readObject(DCEBuffer buf)
Read the eventlog record from the DCE/RPC buffer
|
void |
readStrings(DCEBuffer buf)
Read the strings for this object from the DCE/RPC buffer
|
String |
toString()
Return the eventlog record as a string
|
public static final int TypeSuccess
public static final int TypeError
public static final int TypeWarning
public static final int TypeInformation
public static final int TypeAuditSuccess
public static final int TypeAuditFailure
public static final int IdSeverityMask
public static final int IdCustomerCode
public static final int IdFacilityMask
public static final int IdEventCodeMask
public static final int SeveritySuccess
public static final int SeverityInfo
public static final int SeverityWarn
public static final int SeverityError
public final int getRecordNumber()
public final Date getTimeGenerated()
public final Date getTimeWritten()
public final int getRawEventId()
public final int getEventId()
public final int getEventSeverity()
public final int getEventFacility()
public final boolean isCustomerEvent()
public final int getEventType()
public final String getEventTypeAsString()
public final String getEventSeverityAsString()
public final int getEventCategory()
public final String getEventSource()
public final String getEventHost()
public final StringList getEventStringList()
public final String getEventString()
public void readObject(DCEBuffer buf) throws DCEBufferException
readObject
in interface DCEReadable
buf
- DCEBufferDCEBufferException
public void readStrings(DCEBuffer buf) throws DCEBufferException
readStrings
in interface DCEReadable
buf
- DCEBufferDCEBufferException
Copyright © 2005–2017 Alfresco Software. All rights reserved.