public class MTOSISoapCollector extends Collector
collectData, collectorDescription, collectorName, collectorPort, dataStore, propsFileName, running| Constructor and Description |
|---|
MTOSISoapCollector(java.lang.String collectorName,
java.lang.String collectorDescription)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectData(int dataSourceId,
java.lang.String address,
java.lang.String mask)
This method is responsible for ensuring that data is updated as appropriate, that is, the Collector should check
the EMS for new data and update any internal stores as appropriate.
|
java.util.List<NamingAttributeType> |
getAllPhysicalTerminationPointNames(java.lang.String meId)
Retrieve all termination points names within a ManagedElement
|
TerminationPointListType |
getContainedTerminationPoint(java.util.List<RelativeDistinguishNameType> listRdType)
Retrieves a termination point data
|
java.util.List<ManagedElementType> |
getManagedElement(java.util.List<RelativeDistinguishNameType> listRdType)
Returns a list of ManagedElement data from the SOAP response
|
java.util.List<TerminationPointType> |
getTerminationPoint(java.util.List<RelativeDistinguishNameType> listRdType)
Retrieves data for a termination point
|
protected void |
initialiseDataStore()
Initialise the data store.
|
static void |
main(java.lang.String[] args)
Entry point for this class
|
void |
processAllTopologicalLinks(java.util.List<TopologicalLinkType> tlLst,
java.util.Set<java.lang.String> tcSet)
Process all topological links and add to collector data store
|
protected void |
processManagedElements(java.util.List<NamingAttributeType> meNamesList)
Retrieve Managed Element and add to Collector DataStore
|
void |
retrieveAllTerminationPoints(java.lang.String deviceId)
Process TerminationPoints data and add to Collector DataStore
|
static void |
setPropsFile(java.util.Properties propsFile) |
java.lang.String |
UpdateData(int dataSourceId,
int requestType,
java.lang.String address,
java.lang.String mask)
UpdateData invokes the collectData method which is responsible for ensuring that data is updated as appropriate,
that is, the Collector should check the EMS for new data and update any internal stores as appropriate.
|
GetAfData, GetAmfData, GetAssociatedAddresses, GetAssociatedAddresses, GetAusfData, getCommandLineArgument, GetConnections, GetConnections, GetDeviceInfo, GetDeviceInfo, GetDeviceInfo, GetDeviceList, GetEirData, GetENodeBData, GetEntities, GetEntities, GetGNodeBData, GetHssData, GetInfo, GetInventory, GetInventory, GetLayer1Connections, GetLayer1Connections, GetLayer2Connections, GetLayer2Connections, GetLayer2Vpns, GetLayer2Vpns, GetLayer3Connections, GetLayer3Connections, GetLayer3Vpns, GetLayer3Vpns, GetMmeData, GetMplsInterfaces, GetMplsInterfaces, GetNefData, GetNrfData, GetNssfData, GetPcfData, GetPcrfData, GetPgwData, getPortNumberArgument, getPropertiesFileNameArgument, getPropertyValue, GetRanData, GetSAEGatewayData, GetSgwData, GetSmfData, GetUdmData, GetUpfData, isRunning, loadPropertiesFile, setDataStore, setRunning, shutdown, startup, startuppublic MTOSISoapCollector(java.lang.String collectorName,
java.lang.String collectorDescription)
collectorName - Collector namecollectorDescription - Collector descriptionpublic java.lang.String UpdateData(int dataSourceId,
int requestType,
java.lang.String address,
java.lang.String mask)
CollectorUpdateData invokes the collectData method which is responsible for ensuring that data is updated as appropriate, that is, the Collector should check the EMS for new data and update any internal stores as appropriate.
If the Collector does not need to update its data then it does not need to perform any work other than returning the response message "<updateResponse></updateResponse>".
Note: Is it the Collector's responsibility to determine which devices the supplied IP relates to; the IP is NOT guaranteed to be the device id.
UpdateData in class CollectordataSourceId - Holds the ID of the data source which should be updatedrequestType - The type of requestaddress - If mask is not defined then it holds the address of the device to refresh, or else it holds the subnet to
refresh. If requestType is 1 then the address may be an IP or EMS native identifier.mask - Holds the subnet mask, or is not defined
<updateResponse></updateResponse>
protected void collectData(int dataSourceId,
java.lang.String address,
java.lang.String mask)
CollectorThis method is responsible for ensuring that data is updated as appropriate, that is, the Collector should check the EMS for new data and update any internal stores as appropriate.
collectData in class CollectordataSourceId - Holds the ID of the data source which should be updatedaddress - If mask is not defined then it holds the address (IP or native id) of the device to refresh, or else it holds the subnet to
refresh.mask - Holds the subnet mask, or is not definedprotected void initialiseDataStore()
CollectorDataStore . Should be overridden if a
different kind of data store is to be used.initialiseDataStore in class Collectorpublic java.util.List<NamingAttributeType> getAllPhysicalTerminationPointNames(java.lang.String meId)
throws GetAllPhysicalTerminationPointNamesException
meId - The device Id of the ManagedElementGetAllPhysicalTerminationPointNamesExceptionpublic void retrieveAllTerminationPoints(java.lang.String deviceId)
throws CollectorException
deviceId - The device Id of the ManagedElementCollectorExceptionpublic java.util.List<TerminationPointType> getTerminationPoint(java.util.List<RelativeDistinguishNameType> listRdType)
throws GetTerminationPointException
listRdType - List of RelativeDistinguishNameType objects that contains
ManagedElement device Id , Management Domain information, name
and type of termination pointGetTerminationPointExceptionpublic TerminationPointListType getContainedTerminationPoint(java.util.List<RelativeDistinguishNameType> listRdType)
listRdType - List of RelativeDistinguishNameType objects that contains
ManagedElement device Id , Management Domain information, name
and type of termination pointprotected void processManagedElements(java.util.List<NamingAttributeType> meNamesList)
public void processAllTopologicalLinks(java.util.List<TopologicalLinkType> tlLst,
java.util.Set<java.lang.String> tcSet)
tlLst - tcSet - public java.util.List<ManagedElementType> getManagedElement(java.util.List<RelativeDistinguishNameType> listRdType)
throws GetManagedElementException
GetManagedElementExceptionpublic static void main(java.lang.String[] args)
args - The following are acceptable arguments for this Collector:
If no arguments are specified, the default values will be used.
public static void setPropsFile(java.util.Properties propsFile)