NotificationWrapperpublic class NotificationWrapper extends Object implements SerializableClass to wrap the notification being sent to the client.
This wrapper is used to carry extra information, such as WAIT notification
or an actual notification (type=NOTIF) |
Fields Summary |
---|
public static final int | WAIT | public static final int | NOTIF | private Notification | notif | private ObjectName | source | private int | type |
Constructors Summary |
---|
public NotificationWrapper(int type, ObjectName source, Notification notif)
this.notif = notif;
this.source = source;
this.type = type;
| public NotificationWrapper(ObjectName source, Notification notif)
this.notif = notif;
this.source = source;
this.type = NOTIF;
|
|