Class TraceNotificationExtensions
- java.lang.Object
-
- com.opencloud.rhino.management.trace.TraceNotificationExtensions
-
- All Implemented Interfaces:
Serializable
public class TraceNotificationExtensions extends Object implements Serializable
This class defines Rhino-specific extensions applicable to SLEE trace notifications. It is present as vendor-specific data in
TraceNotification
objects obtained from Rhino.- Since:
- Rhino 2.5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TraceNotificationExtensions(int nodeID, String namespace)
Create a new trace notification 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 generated the trace message resides in.int
getNodeID()
Get the node ID of the node that raised this alarm.String
toString()
-
-
-
Constructor Detail
-
TraceNotificationExtensions
public TraceNotificationExtensions(int nodeID, String namespace)
Create a new trace notification extension descriptor.
- Parameters:
nodeID
- the node ID of the node that raised this alarm.namespace
- the namespace that the notification source that generated the trace message 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 generated the trace message resides in.
- Returns:
- the namespace, or
null
if the default namespace.
-
-