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

## jain.protocol.ss7.oam.mtp2
Class Mtp2StatisticNotification

    java.lang.Object
      |
      +--java.util.EventObject
            |
            +--javax.management.Notification
                  |
                  +--jain.protocol.ss7.oam.OamStatisticNotification
                        |
                        +--jain.protocol.ss7.oam.mtp2.Mtp2StatisticNotification

public class Mtp2StatisticNotification
extends OamStatisticNotification

An Mtp2StatisticNotification is a Notification emitted by an Mtp2ManagedObjectMBean containing the value of a particular statistic.

This Notification should be sent to all applications that have registered with the Mtp2 MBean as a javax.management.NotificationListener using a filter 'f', where f.isNotificationEnabled(this.getType()) == true.

The Notification class extends the java.util.EventObject base class and defines the minimal information contained in a notification. It contains the following fields:

the notification type, which is a string expressed in a dot notation similar to Java properties.

a sequence number, which is a serial number identifying a particular instance of notification in the context of the notification source

a time stamp, indicating when the notification was generated

a message contained in a string, which could be the explanation of the notification for displaying to a user

userData is used for whatever other data the notification source wishes to communicate to its consumers

Notification sources should use the notification type to indicate the nature of the event to their consumers. When additional information needs to be transmitted to consumers, the source may place it in the message or user data fields.

Inheritance hierarchy for JAIN OAM Notification

Version:
  1.1
Author:
  Colm Hayden
See Also:
  Serialized Form

Field Summary
`static int` | `MTP2_MSU_DISCARD_SL_CONGESTION` A MTP2 Statistic Type constant: MSUs discarded due to SL congestion.
`static int` | `MTP2_NUM_SIF_SIO_RECIEVED` A MTP2 Statistic Type constant: Number of SIF and SIO octets received.
`static int` | `MTP2_NUM_SIF_SIO_TRANS` A MTP2 Statistic Type constant: Number of SIF and SIO octets transmitted.

Fields inherited from class jain.protocol.ss7.oam.OamStatisticNotification
`CATEGORY_CONFIGURATION, CATEGORY_FAULT, CATEGORY_PERFORMANCE`

Constructor Summary
`Mtp2StatisticNotification(OamManagedObjectMBean source, long sequenceNumber, int category, int statisticType, int statisticValue)` Constructs a new `Mtp2StatisticNotification`.

Method Summary
`java.lang.String` | `toString()` Returns a string representation (with details) of classes which extend this class.

Methods inherited from class jain.protocol.ss7.oam.OamStatisticNotification
`getCategory, getStatisticType, getStatisticValue, setCategory, setStatisticValue`

Methods inherited from class javax.management.Notification
`getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSource, setUserData`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### MTP2_NUM_SIF_SIO_TRANS

    public static final int MTP2_NUM_SIF_SIO_TRANS

  A MTP2 Statistic Type constant: Number of SIF and SIO octets transmitted.

  Measuring: Signalling Link Utilization
  Collected For: Mtp2SapMBean
  ITU Q.752 Measurement Number: 3.1
  Units: Octets / Mtp2SapMBean
  Notification Type: "jain.protocol.ss7.oam.mtp2.statistic.num_sif_sio_trans".

### MTP2_NUM_SIF_SIO_RECIEVED

    public static final int MTP2_NUM_SIF_SIO_RECIEVED

  A MTP2 Statistic Type constant: Number of SIF and SIO octets received.

  Measuring: Signalling Link Utilization
  Collected For: Mtp2SapMBean
  ITU Q.752 Measurement Number: 3.4
  Units: Octets / Mtp2SapMBean
  Notification Type: "jain.protocol.ss7.oam.mtp2.statistic.num_sif_sio_received".

### MTP2_MSU_DISCARD_SL_CONGESTION

    public static final int MTP2_MSU_DISCARD_SL_CONGESTION

  A MTP2 Statistic Type constant: MSUs discarded due to SL congestion.

  Measuring: Signalling Link Utilization
  Collected For: Mtp2SapMBean
  ITU Q.752 Measurement Number: 3.10
  Units: MSUs / Mtp2SapMBean
  Notification Type: "jain.protocol.ss7.oam.mtp2.statistic.msu_discard_sl_congestion".

Constructor Detail

### Mtp2StatisticNotification

    public Mtp2StatisticNotification(OamManagedObjectMBean source,
                                     long sequenceNumber,
                                     int category,
                                     int statisticType,
                                     int statisticValue)
                              throws java.lang.IllegalArgumentException

  Constructs a new `Mtp2StatisticNotification`.
  Parameters:
    `source` - The Managed MBean that emitted this Notification.
    `sequenceNumberThe` - notification sequence number within the source object.
    `category` - The priority of this Mtp2StatisticEvent. This may be any of the inherited types:

    - CATEGORY_FAULT
    - CATEGORY_CONFIGURATION
    - CATEGORY_PERFORMANCE
    `statisticType` - The type of this statistic. This may be any one of the Statistic Type constants defined in this class.
    `statisticValue` - The statistic value information gathered.
  Throws:
    java.lang.IllegalArgumentException - - If any of the supplied parameters are invalid

Method Detail

### toString

    public java.lang.String toString()

  Returns a string representation (with details) of classes which extend this class. Over rides standard JAVA toString method.
  Overrides:
    toString in class java.util.EventObject

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

11 August 2000

Copyright - 2000 Sun Microsystems