|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods required for the creation and management of all TCAP Managed Objects. It defines the methods to:
It must be noted that under the JAIN Naming Convention the lower-level package structure and classname of a proprietary implementation of the jain.protocol.ss7.oam.tcap.TcapLayerManager interface must be jain.protocol.ss7.oam.tcap.TcapLayerManagerImpl.
Under the JAIN naming convention, the upper-level package structure (pathname) can be used to differentiate between proprietary implementations from different SS7 Vendors. The pathname used by each SS7 Vendor must be the domain name assigned to the Vendor in reverse order, e.g. Sun Microsystem's would be 'com.sun'
It follows that a proprietary implementation of a TcapLayerManager will be located
at:
Where:
pathname = reverse domain name, e.g. com.sun'
The resulting Peer JAIN SS7 Object would be located at: com.sun.jain.protocol.ss7.oam.tcap.TcapLayerManagerImpl
An application may create a JainTcapStackImpl by invoking the JainSs7Factory.createJainSS7Object() method. The PathName of the vendor specific implementation of which you want to instantiate can be set before calling this method or the default or current pathname may be used
Fields inherited from class jain.protocol.ss7.oam.OamLayerManager |
PROTOCOL_VARIANT_ANSI,
PROTOCOL_VARIANT_ITU,
PROTOCOL_VARIANT_OTHER |
Method Summary | |
void |
addTcapStatisticListener(TcapStatisticListener listener)
Adds a TcapStatisticListener to the list of registered statistic listeners of the TCAP layer. |
TcapNodeMO |
createTcapNode(OwnSignallingPointMO sp,
SccpSapMO[] subsystems)
Creates a new TcapNodeMO for the specified local signalling point and subsystem. |
void |
deleteTcapNode(TcapNodeMO tcap)
Deletes the specified TcapNodeMO. |
TcapNodeMO[] |
getActiveTcapNode()
Returns all of the active TCAP layers managed by this TCAP Layer Manager. |
TcapNodeMO |
getActiveTcapNode(int index)
Returns one of the active TCAP layers managed by this TCAP Layer Manager. |
TcapNodeMO[] |
getAllTcapNodes()
Returns all of the TCAP layers managed by this TCAP Layer Manager. |
TcapNodeMO |
getAllTcapNodes(int index)
Returns one of the TCAP layers managed by this TCAP Layer Manager. |
TcapStatisticEvent |
getStatistic(int statisticType,
TcapManagedObject managedObject)
Returns a TcapStatisticEvent of the specified statistic type containing the value of the statistic for the specified managed object. |
void |
removeTcapStatisticListener(TcapStatisticListener listener)
Removes a TCAP Statistic Listener from the list of registered statistic listeners of this TCAP Layer Manager. |
void |
setActiveTcapNode(int index,
TcapNodeMO tcapLayer)
Sets one of the active TCAP layers managed by this TCAP Layer Manager. |
void |
setActiveTcapNode(TcapNodeMO[] tcapLayers)
Sets all of the active TCAP layers managed by this TCAP Layer Manager. |
void |
startPollingStatistic(int statisticType,
TcapManagedObject managedObject,
int interval)
Initiates the polling of statistic of the specified statistic type for the specified managed object. |
void |
stopPollingStatistic(int statisticType,
TcapManagedObject managedObject)
Stops the polling of statistic of the specified statistic type for the specified managed object. |
Methods inherited from interface jain.protocol.ss7.oam.OamLayerManager |
commit,
getProtocolVariant,
getProtocolYear,
getVendorDetails,
readCurrentConfiguration,
setProtocolVariant,
setProtocolYear |
Method Detail |
public void addTcapStatisticListener(TcapStatisticListener listener) throws java.util.TooManyListenersException, SS7ListenerAlreadyRegisteredException
listener
- the TCAP Statistic Listener to be added.public void removeTcapStatisticListener(TcapStatisticListener listener) throws SS7ListenerNotRegisteredException
ie. Removing a TCAP Statistic Listener application implicitly stops the polling of all of the applications statistics.
listener
- the TCAP Statistic Listener to be removed.public TcapStatisticEvent getStatistic(int statisticType, TcapManagedObject managedObject) throws StatisticNotSupportedException
statisticType
- the type of the statistic to be returned
[managedObject
- the TCAP Managed Object (MO) for which the statistic is to be collectedpublic void startPollingStatistic(int statisticType, TcapManagedObject managedObject, int interval) throws StatisticNotSupportedException
statisticType
- the type of the statistic to be polled
[managedObject
- the SCCP Managed Object (MO) for which the statistic is to be polledinterval
- the polling interval in millisecondspublic void stopPollingStatistic(int statisticType, TcapManagedObject managedObject) throws IllegalOperationException
If
the specified statistic is currently being polled by the Listener
that invoked this method
then
this polling will stop and the specified
statistic shall no longer be sent to the registered TCAP Statistic Listener.
If
the specified statistic is not longer being polled by the Listener
that invoked this method
then
invoking this operation will have
no effect.
statisticType
- the type of the statistic for which polling is to stop.managedObject
- the TCAP Managed Object (MO) for which the polling is to stoppublic void setActiveTcapNode(int index, TcapNodeMO tcapLayer) throws TooManyInstancesException
index
- the position of the TCAP layer in the array of TCAP
layers managed by this TCAP Layer Manager.tcapLayer
- the TCAP Layerpublic TcapNodeMO getActiveTcapNode(int index)
There is a subtle difference between this method and the getAllTcapNodes() method in that this method returns only the TCAPs that are currently in use, whereas the getAllTcapNodes() method contains all TCAPs (both those TcapNodeMOs currently in use and the TcapNodeMOs that have been configured, but not activated for any reason including for backup). Every TcapNodeMO that was created through the setActiveTcapNode() method shall be returned by this method.
index
- the position of the TCAP layer in the array of TCAP
layers managed by this TCAP Layer Manager.public void setActiveTcapNode(TcapNodeMO[] tcapLayers) throws TooManyInstancesException
tcapLayers
- all of the TCAP Layerpublic TcapNodeMO[] getActiveTcapNode()
There is a subtle difference between this method and the getAllTcapNodes() method in that this method returns only the TCAPs that are currently in use, whereas the getAllTcapNodes() method contains all TCAPs (both those TcapNodeMOs currently in use and the TcapNodeMOs that have been configured, but not activated for any reason including for backup). Every TcapNodeMO that was created through the setActiveTcapNode() method shall be returned by this method.
public TcapNodeMO createTcapNode(OwnSignallingPointMO sp, SccpSapMO[] subsystems) throws TooManyInstancesException
sp
- the signalling point of the TCAP layersubsystems
- the susbsystems of the TCAP layer.public void deleteTcapNode(TcapNodeMO tcap)
public TcapNodeMO getAllTcapNodes(int index)
index
- the position of the TCAP layer in the array of TCAP
layers managed by this TCAP Layer Manager.public TcapNodeMO[] getAllTcapNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |