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:
- Add a MTP2 Alarm Listener to
this MTP2 Managed Object's list of registered MTP2 Alarm Listeners.
When the state of this MTP2 Managed Object (MO) changes
a MTP2 Alarm Event will be
sent to all registered MTP2 Alarm Listeners.
- Remove a MTP2 Alarm Listener from
this MTP2 Managed Object's list of registered MTP2 Alarm Listeners.
Once a MTP2 Alarm Listener has been removed from the list, it will
no longer receive MTP2 Alarm Events from this MTP2 Managed Object.
- Add a MTP2 Error Listener to
this MTP2 Managed Object's list of registered MTP2 Error Listeners.
When a Vendor defined error occurs in this Mtp2 Managed Object
a MTP2 Error Event will be
sent to all registered MTP2 Error Listeners
- Remove a MTP2 Error Listener from
this MTP2 Managed Object's list of registered MTP2 Error Listeners.
Once a MTP2 Error Listener has been removed from the list, it will
no longer receive MTP2 Error Events
from this MTP2 Managed Object (MO) if an Error occurrs within this MO.
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 |
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