Package com.nt.udc.admin.server
Class ASProxy
java.lang.Object
com.nt.common.util.ServerAPI
com.nt.udc.admin.server.AdminServerAPI
com.nt.udc.admin.server.ASProxy
- All Implemented Interfaces:
AdminServerAPIInterface
,TNCEventReceiverIfc
,AcctEventListener
,Serializable
,Remote
,EventListener
- See Also:
-
Field Summary
Fields inherited from class com.nt.udc.admin.server.AdminServerAPI
RSM_HOME
Fields inherited from class com.nt.common.util.ServerAPI
ipaddr, lastServerCommFailed, port, remoteFreshener, selfRefs, showDialogOnServerCommFailure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Indicates that the properties of an Admin Server have changed.void
fileChanged
(com.nt.udc.admin.FileItem file) Indicates that a system file changed.static com.nt.common.util.ServerAPI
getInstance
(String ip, int port) static com.nt.common.util.ServerAPI
getInstance
(String ip, String prt) Returns a vector of NMItem objects which represents all node managers known to the Admin Server.Returns a vector of NodeInfo objects which represents all nodes known to the Admin Server.getNodeList
(String inIPAddress, int inPort) Returns a vector of NodeInfo objects which represents all nodes controlled by the node manager at the specified IP Address/Port.getOutputNodes
(String inNodeId) Returns a vector of ChannelInfo objects which represents all nodes that receive output from the specified node.static void
killInstance
(String ip, String prt) void
nodeChanged
(com.nt.udc.admin.NMItem nmItem) Indicates that the properties of a Node have changed.void
nodeManagerChanged
(com.nt.udc.admin.NMItem nmItem) Indicates that the properties of a Node Manager have changed.void
nodeManagersAdded
(Vector nmList) Indicates that one or more NodeManagers were added.void
nodeManagersRemoved
(Vector nmList) Indicates that one or more NodeManagers were removed.void
nodePerformanceUpdate
(Vector perfs) Indicates that node performance information was updated.void
nodesAdded
(com.nt.udc.admin.NMItem nmItem) Indicates that a Node has been added to a particular Node Manager.void
nodesRemoved
(com.nt.udc.admin.NMItem nmItem) Indicates that a Node has been removed from a particular Node Manager.void
systemUpdate
(SystemModel model) Indicates that the system has substantially changed.Methods inherited from class com.nt.udc.admin.server.AdminServerAPI
addAcctEventListener, addNM, addNode, addNode, addReceiver, addRoute, addRRNodeDestination, addTrapHost, addUser, changeNM, changeNM, changeRoutingToRR, checkImportStatus, checkRemote, clearNMAlarm, clearNodeAlarm, clearNodeIdCorrelationsMap, compileNPL, completeNodeChainTest, copyNPL, deleteRuleFile, doBackUp, exportWithCustomization, exportWithCustomization, exportXMLSystemModel, exportXMLSystemModel, exportXMLSystemModel, exportXMLSystemModelOfNodeChain, extendTestTimeout, getAdminSvrAuth, getAllLockedAndRunningTestNodes, getASConfig, getASLog, getAuthUsers, getCartridgeVersionInfo, getConfigValue, getCurrentImport, getCurrentPerformanceMetrics, getCurrentUser, getCurrentUserId, getDestNodesInNM, getDetailsAboutTest, getDSHost, getDSPort, getEventSender, getExposedFields, getImportCustomLog, getImportTask, getInputNodes, getLicensedSet, getLicenses, getNM, getNMLog, getNMVersionInfo, getNodeChainTestCfg, getNodeInfo, getNodeItemList, getNodeLog, getOsaHome, getOutputFields, getOutputNodeChainTest, getResetPwdInfo, getRole, getRuleFileContent, getRuleFileDisplayName, getSecondsToPasswordExpiration, getSiteInfo, getSol42DescriptorFiles, getStatus, getSystemModel, getTemplate, getTemplateTree, getTimeoutValueMiliSec, getTrapHostList, getUserList, getVersionInfo, getXMLNodeManagerMap, hasAdminPriv, importCustomization, importSystemModel, integrateRouting, integrateRoutingCCNMScaleUp, integrateScalingDownForNonSegregatedNM, integrateScalingDownForSegregatedNM, isHostBasedEnv, isNodePartOfRunningTNC, isReceiverValid, isSystemRuleFile, loadXMLSystemModel, login, logout, modifyTrapHost, modifyUser, nplChanged, onBulkEvents, onFreeUpTestResources, onNodeOutputFileAvailable, onNodeStatisticsChange, onNodeStatusChange, onRemoveReceiver, onRemoveTestListener, onTestAboutToTimeout, onTestStatusChange, performConfigAction, performConfigAction, reloadNPL, reMapWalletPassword, removeAcctEventListener, removeNM, removeNM, removeNodes, removeOutputNodes, removeReceiver, removeRoute, removeTrapHost, removeTrapHosts, removeUsers, replace, replicateNode, replicateNodeManager, retryRemoteRef, runImport, runNodeChainTest, scaleDownNodeManager, setASConfig, setCurrentUser, setDirConnection, setImportExportProperty, setNodeDescription, setNodeInfo, setNodeOutputs, setRefreshInterval, setRemoteRef, showServerCommFailureDialog, startAllNodes, startNodes, stopAllNodes, stopNodes, updateImportMetadata, updateRoute, updateRouteParameters, updateRuleFileContent, uploadImport, uploadNodeChainTestInputFile, validateNMForNodeTypes, validateNmMaps
Methods inherited from class com.nt.common.util.ServerAPI
disposeOfClientGUI, getConnectTimeOut, getInstance, getInstance, getInstance, getIp, getLastServerCommFailed, getPort, getRef, getRemoteFreshener, getRemoteRef, getRemoteRefForRefresh, getServerName, getSessionTimeOut, getStrPort, handleRMIServerException, setConnectTimeOut, setIpAndPort, setIpAndPort, setRemoteFreshener, setSessionTimeOut, setShowDialogOnServerCommFailure
-
Constructor Details
-
ASProxy
- Throws:
com.nt.common.exceptions.APIException
-
ASProxy
- Throws:
com.nt.common.exceptions.APIException
-
-
Method Details
-
getInstance
public static com.nt.common.util.ServerAPI getInstance(String ip, String prt) throws com.nt.common.exceptions.APIException - Throws:
com.nt.common.exceptions.APIException
-
getInstance
public static com.nt.common.util.ServerAPI getInstance(String ip, int port) throws com.nt.common.exceptions.APIException - Throws:
com.nt.common.exceptions.APIException
-
killInstance
-
getNMList
Description copied from interface:AdminServerAPIInterface
Returns a vector of NMItem objects which represents all node managers known to the Admin Server.- Specified by:
getNMList
in interfaceAdminServerAPIInterface
- Overrides:
getNMList
in classAdminServerAPI
- Throws:
com.nt.common.exceptions.APIException
-
getNodeList
Description copied from interface:AdminServerAPIInterface
Returns a vector of NodeInfo objects which represents all nodes known to the Admin Server.- Specified by:
getNodeList
in interfaceAdminServerAPIInterface
- Overrides:
getNodeList
in classAdminServerAPI
-
getNodeList
public Vector getNodeList(String inIPAddress, int inPort) throws com.nt.common.exceptions.APIException Description copied from interface:AdminServerAPIInterface
Returns a vector of NodeInfo objects which represents all nodes controlled by the node manager at the specified IP Address/Port.- Specified by:
getNodeList
in interfaceAdminServerAPIInterface
- Overrides:
getNodeList
in classAdminServerAPI
- Throws:
com.nt.common.exceptions.APIException
-
getOutputNodes
Description copied from interface:AdminServerAPIInterface
Returns a vector of ChannelInfo objects which represents all nodes that receive output from the specified node.- Specified by:
getOutputNodes
in interfaceAdminServerAPIInterface
- Overrides:
getOutputNodes
in classAdminServerAPI
- Throws:
com.nt.common.exceptions.APIException
-
nodesAdded
public void nodesAdded(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListener
Indicates that a Node has been added to a particular Node Manager.- Specified by:
nodesAdded
in interfaceAcctEventListener
- Overrides:
nodesAdded
in classAdminServerAPI
- Parameters:
nmItem
- NMItem object which represents the Node Manager managing the node that was added. The Vector associated withnodeManager
will contain only the node that was added.
-
nodeChanged
public void nodeChanged(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListener
Indicates that the properties of a Node have changed.- Specified by:
nodeChanged
in interfaceAcctEventListener
- Overrides:
nodeChanged
in classAdminServerAPI
- Parameters:
nmItem
- NMItem object which represents the Node Manager whose node changed. The Vector associated withnodeManager
will contain the node that changed.
-
nodesRemoved
public void nodesRemoved(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListener
Indicates that a Node has been removed from a particular Node Manager.- Specified by:
nodesRemoved
in interfaceAcctEventListener
- Overrides:
nodesRemoved
in classAdminServerAPI
- Parameters:
nmItem
- NMItem object which represents the Node Manager managing the node that was removed. The Vector associated withnodeManager
will contain only the node(s) that was(were) removed.
-
nodeManagersAdded
Description copied from interface:AcctEventListener
Indicates that one or more NodeManagers were added. The Vector associated with each NMItem object will represent all the nodes that are being managed by that Node Manager.- Specified by:
nodeManagersAdded
in interfaceAcctEventListener
- Overrides:
nodeManagersAdded
in classAdminServerAPI
-
nodeManagerChanged
public void nodeManagerChanged(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListener
Indicates that the properties of a Node Manager have changed.- Specified by:
nodeManagerChanged
in interfaceAcctEventListener
- Overrides:
nodeManagerChanged
in classAdminServerAPI
- Parameters:
nmItem
- NMItem object representing the Node Manager that changed.
-
nodeManagersRemoved
Description copied from interface:AcctEventListener
Indicates that one or more NodeManagers were removed.- Specified by:
nodeManagersRemoved
in interfaceAcctEventListener
- Overrides:
nodeManagersRemoved
in classAdminServerAPI
- Parameters:
nmList
- Vector of NMItem objects representing the Node Managers that were removed.
-
systemUpdate
Description copied from interface:AcctEventListener
Indicates that the system has substantially changed.- Specified by:
systemUpdate
in interfaceAcctEventListener
- Overrides:
systemUpdate
in classAdminServerAPI
- Parameters:
model
- SystemModel representing the current state of the system.
-
nodePerformanceUpdate
Description copied from interface:AcctEventListener
Indicates that node performance information was updated.- Specified by:
nodePerformanceUpdate
in interfaceAcctEventListener
- Overrides:
nodePerformanceUpdate
in classAdminServerAPI
- Parameters:
perfs
- Vector of node performance objects
-
fileChanged
public void fileChanged(com.nt.udc.admin.FileItem file) Description copied from interface:AcctEventListener
Indicates that a system file changed.- Specified by:
fileChanged
in interfaceAcctEventListener
- Overrides:
fileChanged
in classAdminServerAPI
- Parameters:
file
- FileItem object representing the system file that changed.
-
adminServerChanged
Description copied from interface:AcctEventListener
Indicates that the properties of an Admin Server have changed.- Specified by:
adminServerChanged
in interfaceAcctEventListener
- Overrides:
adminServerChanged
in classAdminServerAPI
- Parameters:
sm
- StatusMessage object representing the change in the AdminServer.
-