📄 emssession.idl
字号:
#ifndef emsSession_idl#define emsSession_idl// ********************************// * *// * emsSession.idl *// * *// ********************************//Include list#include "OMGidl/CosNotifyChannelAdmin.idl"#include "common.idl"#include "session.idl"#pragma prefix "mtnm.tmforum.org" /** * <a href=supportingDocumentation/overview.html>Overview of NML-EML interface</a> * * <p>This module contains the definition of the emsSession interface * of the NML-EML interface.</p> * * <h5> Version 2.0. </h5> * * <p>The emsSession module provides a means for the client to interrogate the EMS * to determine which manager interfaces it supports. * The NMS can then retrieve an instance of the manager interface objects it requires. * This is achieved using generic IDL so that new manager interfaces can be easily added.</p> **/module emsSession{ /** * <p>A handle to an instance of this interface is gained via the * <a href=_emsSessionFactory.EmsSessionFactory_I.html#emsSessionFactory::EmsSessionFactory_I::getEmsSession> * getemsSession</a> operation in EmsSessionFactory_I.</p> */ interface EmsSession_I : session::Session_I { /** Sequence of manager names **/ typedef sequence<string> managerNames_T; /** * <p>This allows an NMS to request the manager interfaces that the EMS implements</p> * @parm supportedManagerList: list of manager names supported * in the form <i>managerName</i> * where <i>managerName</i> is one of the following defined manager strings * <ol> * <li> "EMS" (mandatory) * <li> "ManagedElement" (mandatory) * <li> "MultiLayerSubnetwork" (mandatory) * <li> "TrafficDescriptor" * <li> "PerformanceManagement" * <li> "Protection" * <li> "EquipmentInventory" * <li> "Maintenance" * <li> "GuiCutThrough" (mandatory) * </ol> * Additional managerName strings can be defined without changing this IDL. * @raises globaldefs::ProcessingFailureException<dir> * EXCPT_INTERNAL_ERROR - Raised in case of non-specific EMS internal failure<br> * EXCPT_ACCESS_DENIED - Raised in case of security violation</dir> **/ void getSupportedManagers(out managerNames_T supportedManagerList) raises(globaldefs::ProcessingFailureException); /** * <p>This allows an NMS to gain access to the specified manager interface.</p> * * @parm managerName: The class or type of manager object that the client wants * (see getSupportedManagers). * @parm managerInterface: The actual object returned will implement the * specified manager interface. However it is returned as a * Common_I object so that this operation can be generic. The client should * narrow the returned object to the correct object type. * * <p>Attempting to gain access to the following manager interfaces * may <u>not</u> raise EXCPT_NOT_IMPLEMENTED:<br> * EMS<br> * ManagedElement<br> * MultiLayerSubnetwork<br> * GuiCutThrough</p> * * @raises globaldefs::ProcessingFailureException<dir> * EXCPT_NOT_IMPLEMENTED - Raised if the EMS does not support the manager<br> * EXCPT_INTERNAL_ERROR - Raised in case of non-specific EMS internal failure<br> * EXCPT_ACCESS_DENIED - Raised in case of security violation</dir> **/ void getManager( in string managerName, out common::Common_I managerInterface) raises(globaldefs::ProcessingFailureException); /** * <p>This allows an NMS to gain access to the event channel to receive notifications.</p> * * @parm EventChannel eventChannel: The event channel to be used by the NMS. * * @raises globaldefs::ProcessingFailureException<dir> * EXCPT_INTERNAL_ERROR - Raised in case of non-specific EMS internal failure<br> * EXCPT_ACCESS_DENIED - Raised in case of security violation</dir> **/ void getEventChannel(out CosNotifyChannelAdmin::EventChannel eventChannel) raises(globaldefs::ProcessingFailureException); };};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -