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_HOMEFields inherited from class com.nt.common.util.ServerAPI
ipaddr, lastServerCommFailed, port, remoteFreshener, selfRefs, showDialogOnServerCommFailure -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIndicates that the properties of an Admin Server have changed.voidfileChanged(com.nt.udc.admin.FileItem file) Indicates that a system file changed.static com.nt.common.util.ServerAPIgetInstance(String ip, int port) static com.nt.common.util.ServerAPIgetInstance(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 voidkillInstance(String ip, String prt) voidnodeChanged(com.nt.udc.admin.NMItem nmItem) Indicates that the properties of a Node have changed.voidnodeManagerChanged(com.nt.udc.admin.NMItem nmItem) Indicates that the properties of a Node Manager have changed.voidnodeManagersAdded(Vector nmList) Indicates that one or more NodeManagers were added.voidnodeManagersRemoved(Vector nmList) Indicates that one or more NodeManagers were removed.voidnodePerformanceUpdate(Vector perfs) Indicates that node performance information was updated.voidnodesAdded(com.nt.udc.admin.NMItem nmItem) Indicates that a Node has been added to a particular Node Manager.voidnodesRemoved(com.nt.udc.admin.NMItem nmItem) Indicates that a Node has been removed from a particular Node Manager.voidsystemUpdate(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, validateNmMapsMethods 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:AdminServerAPIInterfaceReturns a vector of NMItem objects which represents all node managers known to the Admin Server.- Specified by:
getNMListin interfaceAdminServerAPIInterface- Overrides:
getNMListin classAdminServerAPI- Throws:
com.nt.common.exceptions.APIException
-
getNodeList
Description copied from interface:AdminServerAPIInterfaceReturns a vector of NodeInfo objects which represents all nodes known to the Admin Server.- Specified by:
getNodeListin interfaceAdminServerAPIInterface- Overrides:
getNodeListin classAdminServerAPI
-
getNodeList
public Vector getNodeList(String inIPAddress, int inPort) throws com.nt.common.exceptions.APIException Description copied from interface:AdminServerAPIInterfaceReturns a vector of NodeInfo objects which represents all nodes controlled by the node manager at the specified IP Address/Port.- Specified by:
getNodeListin interfaceAdminServerAPIInterface- Overrides:
getNodeListin classAdminServerAPI- Throws:
com.nt.common.exceptions.APIException
-
getOutputNodes
Description copied from interface:AdminServerAPIInterfaceReturns a vector of ChannelInfo objects which represents all nodes that receive output from the specified node.- Specified by:
getOutputNodesin interfaceAdminServerAPIInterface- Overrides:
getOutputNodesin classAdminServerAPI- Throws:
com.nt.common.exceptions.APIException
-
nodesAdded
public void nodesAdded(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListenerIndicates that a Node has been added to a particular Node Manager.- Specified by:
nodesAddedin interfaceAcctEventListener- Overrides:
nodesAddedin classAdminServerAPI- Parameters:
nmItem- NMItem object which represents the Node Manager managing the node that was added. The Vector associated withnodeManagerwill contain only the node that was added.
-
nodeChanged
public void nodeChanged(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListenerIndicates that the properties of a Node have changed.- Specified by:
nodeChangedin interfaceAcctEventListener- Overrides:
nodeChangedin classAdminServerAPI- Parameters:
nmItem- NMItem object which represents the Node Manager whose node changed. The Vector associated withnodeManagerwill contain the node that changed.
-
nodesRemoved
public void nodesRemoved(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListenerIndicates that a Node has been removed from a particular Node Manager.- Specified by:
nodesRemovedin interfaceAcctEventListener- Overrides:
nodesRemovedin classAdminServerAPI- Parameters:
nmItem- NMItem object which represents the Node Manager managing the node that was removed. The Vector associated withnodeManagerwill contain only the node(s) that was(were) removed.
-
nodeManagersAdded
Description copied from interface:AcctEventListenerIndicates 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:
nodeManagersAddedin interfaceAcctEventListener- Overrides:
nodeManagersAddedin classAdminServerAPI
-
nodeManagerChanged
public void nodeManagerChanged(com.nt.udc.admin.NMItem nmItem) Description copied from interface:AcctEventListenerIndicates that the properties of a Node Manager have changed.- Specified by:
nodeManagerChangedin interfaceAcctEventListener- Overrides:
nodeManagerChangedin classAdminServerAPI- Parameters:
nmItem- NMItem object representing the Node Manager that changed.
-
nodeManagersRemoved
Description copied from interface:AcctEventListenerIndicates that one or more NodeManagers were removed.- Specified by:
nodeManagersRemovedin interfaceAcctEventListener- Overrides:
nodeManagersRemovedin classAdminServerAPI- Parameters:
nmList- Vector of NMItem objects representing the Node Managers that were removed.
-
systemUpdate
Description copied from interface:AcctEventListenerIndicates that the system has substantially changed.- Specified by:
systemUpdatein interfaceAcctEventListener- Overrides:
systemUpdatein classAdminServerAPI- Parameters:
model- SystemModel representing the current state of the system.
-
nodePerformanceUpdate
Description copied from interface:AcctEventListenerIndicates that node performance information was updated.- Specified by:
nodePerformanceUpdatein interfaceAcctEventListener- Overrides:
nodePerformanceUpdatein classAdminServerAPI- Parameters:
perfs- Vector of node performance objects
-
fileChanged
public void fileChanged(com.nt.udc.admin.FileItem file) Description copied from interface:AcctEventListenerIndicates that a system file changed.- Specified by:
fileChangedin interfaceAcctEventListener- Overrides:
fileChangedin classAdminServerAPI- Parameters:
file- FileItem object representing the system file that changed.
-
adminServerChanged
Description copied from interface:AcctEventListenerIndicates that the properties of an Admin Server have changed.- Specified by:
adminServerChangedin interfaceAcctEventListener- Overrides:
adminServerChangedin classAdminServerAPI- Parameters:
sm- StatusMessage object representing the change in the AdminServer.
-