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
and AlarmNotification
objects obtained from Rhino.
Constructor and Description |
---|
AlarmExtensions(int nodeID,
String namespace)
Create a new alarm extension descriptor.
|
Modifier and Type | Method and 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() |
public AlarmExtensions(int nodeID, String namespace)
Create a new alarm extension descriptor.
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 be null
to represent the default namespace.public int getNodeID()
Get the node ID of the node that raised this alarm.
public String getNamespace()
Get the namespace that the notification source that raised this alarm resides in.
null
if the default namespace.