javax.management.timer
Class TimerNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification (src) 
          extended byjavax.management.timer.TimerNotification
All Implemented Interfaces:
java.io.Serializable

public class TimerNotification
extends Notification (src)

A notification from the timer service.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TimerNotification(java.lang.String type, java.lang.Object source, long sequenceNumber, long timeStamp, java.lang.String message, java.lang.Integer id)
          Construct a new timer notification.
 
Method Summary
 java.lang.Integer getNotificationID()
          Retrieves the notification id of this timer notification.
 java.lang.String toString()
           
 
Methods inherited from class javax.management.Notification (src)
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimerNotification

public TimerNotification(java.lang.String type,
                         java.lang.Object source,
                         long sequenceNumber,
                         long timeStamp,
                         java.lang.String message,
                         java.lang.Integer id)
Construct a new timer notification.

Parameters:
type - the notification type.
source - the notification source.
sequenceNumber - the notification sequence within the source object.
timeStamp - the time the notification was sent.
message - the detailed message.
id - the timer notification id.
Method Detail

getNotificationID

public java.lang.Integer getNotificationID()
Retrieves the notification id of this timer notification.

Returns:
the notification id.

toString

public java.lang.String toString()
Overrides:
toString in class Notification (src)
Returns:
human readable string.