Class AlarmExtensions
- java.lang.Object
-
- com.opencloud.rhino.management.alarm.AlarmExtensions
-
- All Implemented Interfaces:
Serializable
public class AlarmExtensions extends Object implements Serializable
This class defines Rhino-specific extensions applicable to SLEE alarms. It is present as vendor-specific data in
Alarm
andAlarmNotification
objects obtained from Rhino.- Since:
- Rhino 2.5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlarmExtensions(int nodeID, String namespace)
Create a new alarm extension descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNamespace()
Get the namespace that the notification source that raised this alarm resides in.int
getNodeID()
Get the node ID of the node that raised this alarm.String
toString()
-
-
-
Constructor Detail
-
AlarmExtensions
public AlarmExtensions(int nodeID, String namespace)
Create a new alarm extension descriptor.
- Parameters:
nodeID
- the node ID of the node that raised this alarm.namespace
- the namespace that the notification source that raised this alarm resides in. May benull
to represent the default namespace.
-
-
Method Detail
-
getNodeID
public int getNodeID()
Get the node ID of the node that raised this alarm.
- Returns:
- the node ID.
-
getNamespace
public String getNamespace()
Get the namespace that the notification source that raised this alarm resides in.
- Returns:
- the namespace, or
null
if the default namespace.
-
-