jain.protocol.ss7.oam.mtp2
Class Mtp2StatisticEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.oam.OamStatisticEvent
              |
              +--jain.protocol.ss7.oam.mtp2.Mtp2StatisticEvent

public class Mtp2StatisticEvent
extends OamStatisticEvent

A Mtp2StatisticEvent is an Event emitted by a Mtp2 Layer Manager containing the value of a particular statistic collected for a particular managed object. This Event should be sent to all applications that have registered with the Mtp Layer Manager as a Mtp Statistic Listener.

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.OamStatisticEvent
CATEGORY_CONFIGURATION, CATEGORY_FAULT, CATEGORY_PERFORMANCE, managedObject, statisticType
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Mtp2StatisticEvent(OamLayerManager source, int category, int statisticType, int statisticValue, Mtp2ManagedObject managedObject)
          Constructs a new Mtp2StatisticEvent.
 
Method Summary
 Mtp2ManagedObject getManagedObject()
          Returns the MTP2 Managed Object for which this statistic was collected.
 void setManagedObject(Mtp2ManagedObject mtp2MO)
          Sets the MTP2 Managed Object for which this statistic was collected
 void setStatisticType(int statisticType)
          Sets the Type of this MTP2 Statistic Event
 java.lang.String toString()
          Returns a string representation (with details) of classes which extend this class.
 
Methods inherited from class jain.protocol.ss7.oam.OamStatisticEvent
getCategory, getStatisticType, getStatisticValue, setCategory, setStatisticValue
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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: Mtp2SapMO
ITU Q.752 Measurement Number: 3.1
Units: Octets / Mtp2SapMO


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: Mtp2SapMO
ITU Q.752 Measurement Number: 3.4
Units: Octets / Mtp2SapMO


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: Mtp2SapMO
ITU Q.752 Measurement Number: 3.10
Units: MSUs / Mtp2SapMO

Constructor Detail

Mtp2StatisticEvent

public Mtp2StatisticEvent(OamLayerManager source,
                          int category,
                          int statisticType,
                          int statisticValue,
                          Mtp2ManagedObject managedObject)
Constructs a new Mtp2StatisticEvent.
Parameters:
source - The Managed Object that emitted this Event.
category - The priority of this Mtp2Statisticvent. 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.
managedObject - the MTP2 Managed Object for which the statistic was collected
Method Detail

getManagedObject

public Mtp2ManagedObject getManagedObject()
Returns the MTP2 Managed Object for which this statistic was collected.

setManagedObject

public void setManagedObject(Mtp2ManagedObject mtp2MO)
                      throws java.lang.NullPointerException
Sets the MTP2 Managed Object for which this statistic was collected
Parameters:
mtp2MO - the MTP2 Managed Object for which this statistic was collected
Throws:
NullPointerException - if the supplied managed object is null

setStatisticType

public void setStatisticType(int statisticType)
                      throws java.lang.IllegalArgumentException
Sets the Type of this MTP2 Statistic Event
Parameters:
statisticType - one of the defined MTP2 Statistic Types.
Throws:
java.lang.IllegalArgumentException - - if the supplied statistic is not one of the defined MTP2 Statistic types
Overrides:
setStatisticType in class OamStatisticEvent

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


06 January 2000
If you have any comments or queries, please mail them to Colm Hayden [JAIN SS7 OAM Edit Lead]

Copyright - 2000 Sun Microsystems