Package org.netxms.client.events
Class Event
java.lang.Object
org.netxms.client.events.Event
Read-only representation of NetXMS event. Intended to be created only
by client library communication module.
-
Constructor Details
-
Event
Create event object from NXCP message. Intended to be called only by NXCSession.- Parameters:
msg
- NXCP messagebaseId
- base field ID
-
-
Method Details
-
getId
public long getId()- Returns:
- the id
-
getCode
public int getCode()- Returns:
- the code
-
getTimeStamp
- Returns:
- the timeStamp
-
getSourceId
public long getSourceId()- Returns:
- the sourceId
-
getDciId
public long getDciId()- Returns:
- the dciId
-
getSeverity
public int getSeverity()- Returns:
- the severity
-
getMessage
- Returns:
- the message
-
getUserTag
- Returns:
- the userTag
-
getParameters
- Returns:
- the parameters
-