Cisco Cisco Prime Optical 10.6 Developer's Guide

Page of 665
Cisco Prime Optical 10.6 GateWay/CORBA Programmer Reference Guide 
 
 
397
 
Compliance 
Prime Optical-defined. 
3.14.7  getAssociatedProtectionGroup  
Synopsis 
Description 
This interface retrieves the protection group using the specified PTP name. The PTP name specified can 
be either the working PTP or the protect PTP. 
Parameters 
Name 
Type 
Input/Output  Description 
ptpName 
globaldefs::NamingAttributes_T  In 
Name of the PTP to verify an 
association to any protection group. 
protectiongroup  ProtectionGroup_T 
Out 
Returned protection group. 
For details about the ProtectionGroup_T structure, see 
. 
Throws 
Compliance 
Prime Optical-defined. 
3.15  session::Session_I 
The Session_I interface provides capabilities for managing the client-server connection. It enables either a 
client or a server to detect communication loss with the associated party. There are two Session_I objects 
for each communication session between an NMS and an EMS. One Session_I object is maintained on 
the NMS and the other Session_I object is maintained on the EMS. The Session_I object maintained on 
the EMS is actually an EmsSession_I, while the Session_I object maintained on the NMS is actually an 
NmsSession_I (both inherit from Session_I). 
Each Session_I object is responsible for pinging the other Session_I object periodically to detect 
communication failures. Prime Optical invokes this method on NmsSession_I every five minutes. If this 
call raises an exception, Prime Optical assumes the session is no longer connected and deletes all 
resources allocated to it. 
Attributes 
This attribute contains a reference to the Session_I on the NMS/EMS associated with the object. This 
attribute can be checked to verify the NmsSession_I/EmsSession_I association is still valid (particularly 
in case of communication failures). 
3.15.1  endSession 
Synopsis