jain.protocol.ss7.oam.mtp2
Interface Mtp2ManagedObject

All Known Subinterfaces:
Mtp2SapMO, Mtp2TimerProfileMO

public abstract interface Mtp2ManagedObject
extends OamManagedObject

This interface is implemented by all MTP2 Managed Objects (MOs). Objects that implement this interface may emit MTP2 Alarm Events and MTP2 Error Events This interface defines the methods to:


Fields inherited from class jain.protocol.ss7.oam.OamManagedObject
OBJECTID_CONCERNED_AREA, OBJECTID_GLOBAL_TITLE_ENTRY, OBJECTID_LINK, OBJECTID_LINKSET, OBJECTID_MTP2_SAP, OBJECTID_MTP2_TIMER_PROFILE, OBJECTID_MTP3_SAP, OBJECTID_MTP3_TIMER_PROFILE, OBJECTID_OWN_SIGNALLING_POINT, OBJECTID_ROUTE, OBJECTID_ROUTESET, OBJECTID_SCCP_ENTITY_SET, OBJECTID_SCCP_ROUTING_CONTROL, OBJECTID_SCCP_SAP, OBJECTID_SCCP_TIMER_PROFILE, OBJECTID_SCREENING_TABLE, OBJECTID_TCAP
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 void addMtp2AlarmListener(Mtp2AlarmListener listener)
          Adds a Mtp2AlarmListener to the list of registered listeners of this Managed object.
 void addMtp2ErrorListener(Mtp2ErrorListener listener)
          Adds a MTP2 Error Listener to the list of registered MTP2 Error listeners of this MTP2 Managed Object (MO).
 void removeMtp2AlarmListener(Mtp2AlarmListener listener)
          Removes a Mtp2AlarmListener from the list of registered listeners of this managed object.
 void removeMtp2ErrorListener(Mtp2ErrorListener listener)
          Removes a MTP2 Error Listener from the list of registered MTP2 Error listeners of this MTP2 Managed Object (MO).
 
Methods inherited from interface jain.protocol.ss7.oam.OamManagedObject
addPropertyChangeListener, addVetoableChangeListener, getName, getObjectId, getProprietaryInformation, removePropertyChangeListener, removeVetoableChangeListener, setName
 

Method Detail

addMtp2AlarmListener

public void addMtp2AlarmListener(Mtp2AlarmListener listener)
                          throws java.util.TooManyListenersException,
                                 SS7ListenerAlreadyRegisteredException
Adds a Mtp2AlarmListener to the list of registered listeners of this Managed object.
Parameters:
listener - the Mtp2 Alarm Listener to be added.
Throws:
TooManyListenersException - thrown if a limit is placed on the allowable number of registered MTP2 Alarm Listeners by the implementation, and this limit is exceeded.
SS7ListenerAlreadyRegisteredException - thrown if an attempt is made to register a MTP2 Alarm Listener that is already registered with this MTP2 Managed Object as an Alarm Listener.

removeMtp2AlarmListener

public void removeMtp2AlarmListener(Mtp2AlarmListener listener)
                             throws SS7ListenerNotRegisteredException
Removes a Mtp2AlarmListener from the list of registered listeners of this managed object.
Parameters:
listener - the Mtp2 Alarm Listener to be removed.
Throws:
SS7ListenerNotRegisteredException - thrown if the MTP2 Alarm Listener to be removed is not registered as an Alarm Listener of this MTP2 Managed Object.

addMtp2ErrorListener

public void addMtp2ErrorListener(Mtp2ErrorListener listener)
                          throws java.util.TooManyListenersException,
                                 SS7ListenerAlreadyRegisteredException
Adds a MTP2 Error Listener to the list of registered MTP2 Error listeners of this MTP2 Managed Object (MO). If a Vendor defined error occurs within this MTP2 MO, then details of the error shall be sent as an MTP2 Error Event to all of the MTP2 Error Listeners that have registered through this method.
Parameters:
listener - the MTP2 Error Listener to be added.
Throws:
TooManyListenersException - thrown if a limit is placed on the allowable number of registered MTP2 Error Listeners by the implementation, and this limit is exceeded.
SS7ListenerAlreadyRegisteredException - thrown if an attempt is made to register a MTP2 Error Listener that is already registered with this MTP2 Managed Object as an Error Listener.

removeMtp2ErrorListener

public void removeMtp2ErrorListener(Mtp2ErrorListener listener)
                             throws SS7ListenerNotRegisteredException
Removes a MTP2 Error Listener from the list of registered MTP2 Error listeners of this MTP2 Managed Object (MO). Once removed, an MTP2 Error Listener will no longer be sent any MTP2 Error Events if an MTP2 Error Ocurrs this MTP" Managed Object.
Parameters:
listener - the MTP2 Error Listener to be removed.
Throws:
SS7ListenerNotRegisteredException - thrown if the MTP2 Error Listener to be removed is not registered as an Error Listener of this MTP2 Managed Object.


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