Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.management.timer
Class TimerNotification

    java.lang.Object
      java.util.EventObject
          javax.management.Notification
              javax.management.timer.TimerNotification

All Implemented Interfaces:
  Serializable

public class TimerNotification
extends Notification

A notification from the timer service.

Version:
  $Revision: 1.8 $

  Revisions:

  20020816 Adrian Brock:

  - Serialization
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.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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