jain.protocol.ss7.oam
Class OamStatisticEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.oam.OamStatisticEvent
Direct Known Subclasses:
Mtp2StatisticEvent, Mtp3StatisticEvent, SccpStatisticEvent, TcapStatisticEvent

public abstract class OamStatisticEvent
extends java.util.EventObject
implements java.io.Serializable, java.lang.Cloneable

A OamStatisticEvent is an Event emitted by a JAIN OAM Managed Object(MO) to indicate a statistic measurement of a specified MO.

The purpose of management is to provide a service, and this can be classified as initial provisioning, maintaining existing service, and expansion or contraction of the service. OSI defines the categories of fault management, configuration management, performance management, accounting management and security management. Of these, the first three categories are will be supported by this release of JAIN OAM API Specification.

See Also:
Serialized Form

Field Summary
static int CATEGORY_CONFIGURATION
          A Statistic Category constant: Configuration management controls the resources of, and collects and provides data for, the signaling network and its components.
static int CATEGORY_FAULT
          A Statistic Category constant: Fault management encompasses fault detection, location, isolation and the correction of abnormal operation of the SS7 network.
static int CATEGORY_PERFORMANCE
          A Statistic Category constant: This enables the behavior of network resources and the effectiveness of communication activities in the network to be evaluated.
protected  OamManagedObject managedObject
           
protected  int statisticType
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected OamStatisticEvent(OamLayerManager source, int category, int statisticType, int statistic, OamManagedObject managedObject)
           
 
Method Summary
 int getCategory()
          Returns the category of this OamStatisticEvent.
 int getStatisticType()
          Returns the Type of this Statistic
 int getStatisticValue()
          Returns the value of the statistic being sent in this Statistic Event.
 void setCategory(int category)
          Returns the category of this OamStatisticEvent.
abstract  void setStatisticType(int statisticType)
          Sets the Type of this Statistic
 void setStatisticValue(int statisticValue)
          Sets the value of the statistic being sent in this Statistic Event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CATEGORY_FAULT

public static final int CATEGORY_FAULT
A Statistic Category constant: Fault management encompasses fault detection, location, isolation and the correction of abnormal operation of the SS7 network. Correction of faults can in some instances require fault diagnosis. Faults can cause the network to fail to meet operational objectives (e.g. visible faults might reduce the network's traffic capacity, latent faults would reduce the network's reliability).

CATEGORY_CONFIGURATION

public static final int CATEGORY_CONFIGURATION
A Statistic Category constant: Configuration management controls the resources of, and collects and provides data for, the signaling network and its components. This facilitates the preparation for, and initialization of, signaling services, and allows such services to be started, continued, and stopped.

CATEGORY_PERFORMANCE

public static final int CATEGORY_PERFORMANCE
A Statistic Category constant: This enables the behavior of network resources and the effectiveness of communication activities in the network to be evaluated.

statisticType

protected int statisticType

managedObject

protected OamManagedObject managedObject
Constructor Detail

OamStatisticEvent

protected OamStatisticEvent(OamLayerManager source,
                            int category,
                            int statisticType,
                            int statistic,
                            OamManagedObject managedObject)
Method Detail

setCategory

public void setCategory(int category)
                 throws java.lang.IllegalArgumentException
Returns the category of this OamStatisticEvent.
Returns:
one of the following:
  • CATEGORY_FAULT
  • CATEGORY_CONFIGURATION
  • CATEGORY_PERFORMANCE
Throws:
java.lang.IllegalArgumentException - - if the suplied category is not one of the defined types

getCategory

public int getCategory()
Returns the category of this OamStatisticEvent.
Returns:
one of the following:
  • CATEGORY_FAULT
  • CATEGORY_CONFIGURATION
  • CATEGORY_PERFORMANCE

setStatisticValue

public void setStatisticValue(int statisticValue)
Sets the value of the statistic being sent in this Statistic Event.
Parameters:
statisticValue - the statistic value

getStatisticValue

public int getStatisticValue()
Returns the value of the statistic being sent in this Statistic Event.
Returns:
the statistic value

setStatisticType

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

getStatisticType

public int getStatisticType()
Returns the Type of this Statistic
Returns:
one of the statistic type values defined in any of the defined statistic types.


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