org.netxms.client.events
Class Alarm

java.lang.Object
  extended by org.netxms.client.events.Alarm

public class Alarm
extends java.lang.Object

Author:
Victor

Field Summary
static int HELPDESK_STATE_CLOSED
           
static int HELPDESK_STATE_IGNORED
           
static int HELPDESK_STATE_OPEN
           
static int STATE_ACKNOWLEDGED
           
static int STATE_OUTSTANDING
           
static int STATE_TERMINATED
           
 
Constructor Summary
Alarm(NXCPMessage msg)
           
 
Method Summary
 int getAckByUser()
           
 java.util.Date getCreationTime()
           
 int getCurrentSeverity()
           
 java.lang.String getHelpdeskReference()
           
 int getHelpdeskState()
           
 long getId()
           
 java.lang.String getKey()
           
 java.util.Date getLastChangeTime()
           
 java.lang.String getMessage()
           
 int getOriginalSeverity()
           
 int getRepeatCount()
           
 int getSourceEventCode()
           
 long getSourceEventId()
           
 long getSourceObjectId()
           
 int getState()
           
 int getTerminateByUser()
           
 int getTimeout()
           
 int getTimeoutEvent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_OUTSTANDING

public static final int STATE_OUTSTANDING
See Also:
Constant Field Values

STATE_ACKNOWLEDGED

public static final int STATE_ACKNOWLEDGED
See Also:
Constant Field Values

STATE_TERMINATED

public static final int STATE_TERMINATED
See Also:
Constant Field Values

HELPDESK_STATE_IGNORED

public static final int HELPDESK_STATE_IGNORED
See Also:
Constant Field Values

HELPDESK_STATE_OPEN

public static final int HELPDESK_STATE_OPEN
See Also:
Constant Field Values

HELPDESK_STATE_CLOSED

public static final int HELPDESK_STATE_CLOSED
See Also:
Constant Field Values
Constructor Detail

Alarm

public Alarm(NXCPMessage msg)
Parameters:
msg - Source NXCP message
Method Detail

getId

public long getId()
Returns:
the id

getCurrentSeverity

public int getCurrentSeverity()
Returns:
the currentSeverity

getOriginalSeverity

public int getOriginalSeverity()
Returns:
the originalSeverity

getRepeatCount

public int getRepeatCount()
Returns:
the repeatCount

getState

public int getState()
Returns:
the state

getAckByUser

public int getAckByUser()
Returns:
the ackByUser

getTerminateByUser

public int getTerminateByUser()
Returns:
the terminateByUser

getSourceEventId

public long getSourceEventId()
Returns:
the sourceEventId

getSourceEventCode

public int getSourceEventCode()
Returns:
the sourceEventCode

getSourceObjectId

public long getSourceObjectId()
Returns:
the sourceObjectId

getCreationTime

public java.util.Date getCreationTime()
Returns:
the creationTime

getLastChangeTime

public java.util.Date getLastChangeTime()
Returns:
the lastChangeTime

getMessage

public java.lang.String getMessage()
Returns:
the message

getKey

public java.lang.String getKey()
Returns:
the key

getHelpdeskState

public int getHelpdeskState()
Returns:
the helpdeskState

getHelpdeskReference

public java.lang.String getHelpdeskReference()
Returns:
the helpdeskReference

getTimeout

public int getTimeout()
Returns:
the timeout

getTimeoutEvent

public int getTimeoutEvent()
Returns:
the timeoutEvent


Copyright © 2011. All Rights Reserved.