|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.management.Notification
com.pcube.apps.engage.Notification
public class Notification
A notification sent to the NotificationListener. The notifications are of the ENGAGE_GENERAL_NOTIFICATION, ENGAGE_WARNING_NOTIFICATION or ENGAGE_ERROR_NOTIFICATION type. Each notification has a notification message, type and level - NOTIFICATION_LEVEL_LOW for all listeners or NOTIFICATION_LEVEL_HIGH as being a detailed notification.
| Field Summary | |
|---|---|
static byte |
ENGAGE_ERROR_NOTIFICATION
An error notification |
static byte |
ENGAGE_GENERAL_NOTIFICATION
A general notification |
static byte |
ENGAGE_WARNING_NOTIFICATION
A warning notification |
static byte |
NOTIFICATION_LEVEL_HIGH
A detailed notification - for listeners that want high filtered notifications |
static byte |
NOTIFICATION_LEVEL_LOW
A notification for all listeners - get all warnings and errors |
static byte |
POLICY_AND_SUBSCRIBER_CLIENT_NOTIFICATION
The notification is meant for both Policy and Subscriber clients |
static byte |
POLICY_CLIENT_NOTIFICATION
The notification is meant for Policy clients |
static byte |
SUBSCRIBER_CLIENT_NOTIFICATION
The notification is meant for Subscriber clients |
| Constructor Summary | |
|---|---|
Notification(java.lang.String msg,
byte msgType,
byte msgClients,
byte msgLevel)
|
|
Notification(java.lang.String msg,
java.lang.Object source,
byte msgType,
byte msgClients,
byte msgLevel)
Notification Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getNotification()
Gets this notification's message. |
byte |
getNotificationClients()
Gets the notifications clients. |
byte |
getNotificationLevel()
Gets the notification's level. |
byte |
getNotificationType()
Gets this notification's type. |
java.lang.String |
toString()
|
| Methods inherited from class javax.management.Notification |
|---|
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte NOTIFICATION_LEVEL_LOW
public static final byte NOTIFICATION_LEVEL_HIGH
public static final byte ENGAGE_GENERAL_NOTIFICATION
public static final byte ENGAGE_WARNING_NOTIFICATION
public static final byte ENGAGE_ERROR_NOTIFICATION
public static final byte POLICY_CLIENT_NOTIFICATION
public static final byte SUBSCRIBER_CLIENT_NOTIFICATION
public static final byte POLICY_AND_SUBSCRIBER_CLIENT_NOTIFICATION
| Constructor Detail |
|---|
public Notification(java.lang.String msg,
java.lang.Object source,
byte msgType,
byte msgClients,
byte msgLevel)
msg - this notification's messagemsgType - this notification's message's typemsgClients - msgLevel - this notification's level
public Notification(java.lang.String msg,
byte msgType,
byte msgClients,
byte msgLevel)
| Method Detail |
|---|
public java.lang.String getNotification()
public byte getNotificationType()
ENGAGE_GENERAL_NOTIFICATION,
ENGAGE_WARNING_NOTIFICATION,
ENGAGE_ERROR_NOTIFICATIONpublic byte getNotificationLevel()
NOTIFICATION_LEVEL_LOW,
NOTIFICATION_LEVEL_HIGHpublic byte getNotificationClients()
POLICY_CLIENT_NOTIFICATION,
SUBSCRIBER_CLIENT_NOTIFICATION,
POLICY_AND_SUBSCRIBER_CLIENT_NOTIFICATIONpublic java.lang.String toString()
toString in class javax.management.Notification
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||