jain.protocol.ss7.oam.tcap
Class TcapStatisticEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.oam.OamStatisticEvent
              |
              +--jain.protocol.ss7.oam.tcap.TcapStatisticEvent

public class TcapStatisticEvent
extends OamStatisticEvent

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

See Also:
Serialized Form

Field Summary
static int TCAP_PROT_ERR_COMP_PORT
          A TCAP Statisctic Type constant: Protocol error detected in component portion - with probelm code: unrecognised component mistyped component badly structured component .
static int TCAP_PROT_ERR_TRANS_PORT1
          A TCAP Statisctic Type constant: Protocol error detected in transaction portion - with P_ABORT: unrecognised TID resource limitation .
static int TCAP_PROT_ERR_TRANS_PORT2
          A TCAP Statisctic Type constant: Protocol error detected in transaction portion - with P_ABORT: unrecognised message type incorrect TP badly formatted TP .
static int TCAP_TOTAL_RECEIVED
          A TCAP Statisctic Type constant: Total number of messages received by the node.
static int TCAP_TOTAL_SENT
          A TCAP Statisctic Type constant: Total number of TC messages sent by the node.
 
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
TcapStatisticEvent(TcapLayerManager source, int category, int statisticType, int statisticValue, TcapManagedObject managedObject)
          Constructs a new TcapStatisticEvent.
 
Method Summary
 TcapManagedObject getManagedObject()
          Returns the TCAP Managed Object for which this statistic was collected.
 void setManagedObject(TcapManagedObject tcapMO)
          Sets the TCAP Managed Object for which this statistic was collected
 void setStatisticType(int statisticType)
          Sets the Type of this SCCP 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

TCAP_TOTAL_SENT

public static final int TCAP_TOTAL_SENT
A TCAP Statisctic Type constant: Total number of TC messages sent by the node.

Measuring: Local TC utilization
Collected For: TcapNodeMO
ITU Q.752 Measurement Number: 13.1
Units: Messages / TcapNodeMO


TCAP_TOTAL_RECEIVED

public static final int TCAP_TOTAL_RECEIVED
A TCAP Statisctic Type constant: Total number of messages received by the node.

Measuring: Local TC utilization
Collected For: TcapNodeMO
ITU Q.752 Measurement Number: 13.2
Units: Messages / TcapNodeMO


TCAP_PROT_ERR_TRANS_PORT1

public static final int TCAP_PROT_ERR_TRANS_PORT1
A TCAP Statisctic Type constant: Protocol error detected in transaction portion - with P_ABORT: .

Measuring: TC Fault Measurements
Collected For: TcapNodeMO
ITU Q.752 Measurement Number: 14.1
Units: Event / TcapNodeMO


TCAP_PROT_ERR_TRANS_PORT2

public static final int TCAP_PROT_ERR_TRANS_PORT2
A TCAP Statisctic Type constant: Protocol error detected in transaction portion - with P_ABORT: .

Measuring: TC Fault Measurements
Collected For: TcapNodeMO
ITU Q.752 Measurement Number: A.1
Units: Event / TcapNodeMO


TCAP_PROT_ERR_COMP_PORT

public static final int TCAP_PROT_ERR_COMP_PORT
A TCAP Statisctic Type constant: Protocol error detected in component portion - with probelm code: .

Measuring: TC Fault Measurements
Collected For: TcapNodeMO
ITU Q.752 Measurement Number: A.2
Units: Event / TcapNodeMO

Constructor Detail

TcapStatisticEvent

public TcapStatisticEvent(TcapLayerManager source,
                          int category,
                          int statisticType,
                          int statisticValue,
                          TcapManagedObject managedObject)
Constructs a new TcapStatisticEvent.
Parameters:
source - The TCAP Layer Manager that emitted this Event.
category - The category of this TcapStatisticEvent. 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
managedObject - the managed object for which the statistic has been collected
Method Detail

getManagedObject

public TcapManagedObject getManagedObject()
Returns the TCAP Managed Object for which this statistic was collected.

setManagedObject

public void setManagedObject(TcapManagedObject tcapMO)
                      throws java.lang.NullPointerException
Sets the TCAP Managed Object for which this statistic was collected
Parameters:
tcapMO - the TCAP 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 SCCP Statistic Event
Parameters:
statisticType - one of the defined SCCP Statistic Types.
Throws:
java.lang.IllegalArgumentException - - if the supplied statistic is not one of the defined SCCP 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