public class ISNRequest
extends java.lang.Object
| Constructor and Description |
|---|
ISNRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
callISNRequest(java.net.Socket socket,
AlcatelNR8PLIooIsnCollectorProperties collectorProperties,
java.lang.Integer isnReportId)
Make ISN report request after login.
|
java.net.Socket |
doISNCreateSocket(java.lang.String EMShost,
java.lang.String ISNAgentPort)
Creates a socket connection to the specified EMS host and ISN agent port.
|
java.net.Socket |
doISNLogin(AlcatelNR8PLIooIsnCollectorProperties collectorProperties)
Logins to ISN agent on ALU Optical EMS.
|
java.util.Map<java.lang.String,java.lang.Object> |
doISNRequest(java.lang.Integer isnReportId,
AlcatelNR8PLIooIsnCollectorProperties collectorProperties)
Main method to perform ISN login, process ISN report request, and parse ISN response.
|
static java.lang.Integer |
getReportNumber(java.lang.String request) |
static java.lang.Integer |
lookupISNReportId(java.lang.String abstractCommand)
Resolves human-level command to ISN report ID.
|
java.lang.Integer |
translateISNRequest(java.lang.String abstractRequest)
Translates a human-level command to an ISN report ID.
|
public static java.lang.Integer getReportNumber(java.lang.String request)
public java.util.Map<java.lang.String,java.lang.Object> doISNRequest(java.lang.Integer isnReportId,
AlcatelNR8PLIooIsnCollectorProperties collectorProperties)
isnReportId - Lookup Report Id from a Report NamecollectorProperties - Configuration recordspublic java.net.Socket callISNRequest(java.net.Socket socket,
AlcatelNR8PLIooIsnCollectorProperties collectorProperties,
java.lang.Integer isnReportId)
socket - Socket object from successful login to ISN NBIcollectorProperties - Configuration data from Collector configuration fileisnReportId - ISN Report Idpublic java.net.Socket doISNLogin(AlcatelNR8PLIooIsnCollectorProperties collectorProperties)
config - Configuration data from Collector configuration filepublic java.net.Socket doISNCreateSocket(java.lang.String EMShost,
java.lang.String ISNAgentPort)
EMShost - The host of the EMSISNAgentPort - The port of the ISN agentpublic java.lang.Integer translateISNRequest(java.lang.String abstractRequest)
abstractRequest - Human-level command to look uppublic static java.lang.Integer lookupISNReportId(java.lang.String abstractCommand)
abstractCommand - Human-level command