javax.management.timer
Class TimerNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by javax.management.timer.TimerNotification
All Implemented Interfaces:
Serializable

public class TimerNotification
extends Notification

A notification from the timer service.

Version:
$Revision: 57200 $

Revisions:

20020816 Adrian Brock:

Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, Integer id)
          Construct a new timer notification.
 
Method Summary
 Integer getNotificationID()
          Retrieves the notification id of this timer notification.
 String toString()
           
 
Methods inherited from class javax.management.Notification
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(String type,
                         Object source,
                         long sequenceNumber,
                         long timeStamp,
                         String message,
                         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.
userData - additional notification user data
Method Detail

getNotificationID

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

Returns:
the notification id.

toString

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.