Package org.netxms.client.events
Class Event
- java.lang.Object
-
- org.netxms.client.events.Event
-
public class Event extends Object
Read-only representation of NetXMS event. Intended to be created only by client library communication module.
-
-
Constructor Summary
Constructors Constructor Description Event(org.netxms.base.NXCPMessage msg, long baseId)Create event object from NXCP message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()longgetDciId()longgetId()StringgetMessage()String[]getParameters()intgetSeverity()longgetSourceId()DategetTimeStamp()StringgetUserTag()
-
-
-
Method Detail
-
getId
public long getId()
- Returns:
- the id
-
getCode
public int getCode()
- Returns:
- the code
-
getTimeStamp
public Date 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
public String getMessage()
- Returns:
- the message
-
getUserTag
public String getUserTag()
- Returns:
- the userTag
-
getParameters
public String[] getParameters()
- Returns:
- the parameters
-
-