org.netxms.client.events
Class Event
java.lang.Object
org.netxms.client.events.Event
public class Event
- extends java.lang.Object
Read-only representation of NetXMS event. Intended to be created only
by client library communication module.
Constructor Summary |
Event(NXCPMessage msg,
long baseId)
Create event object from NXCP message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Event
public Event(NXCPMessage msg,
long baseId)
- Create event object from NXCP message. Intended to be called only by NXCSession.
- Parameters:
msg
- NXCP message
getId
public long getId()
- Returns:
- the id
getCode
public int getCode()
- Returns:
- the code
getTimeStamp
public java.util.Date getTimeStamp()
- Returns:
- the timeStamp
getSourceId
public long getSourceId()
- Returns:
- the sourceId
getSeverity
public int getSeverity()
- Returns:
- the severity
getMessage
public java.lang.String getMessage()
- Returns:
- the message
getUserTag
public java.lang.String getUserTag()
- Returns:
- the userTag
getParameters
public java.lang.String[] getParameters()
- Returns:
- the parameters
Copyright © 2013. All Rights Reserved.