Cisco CTX2500 Uživatelská příručka Strana 480

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 530
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 479
C-8
Cisco Transport Manager Release 9.2 GateWay/CORBA User Guide and Programmer Manual
OL-20937-01
Appendix C OSS Use Cases and Client Development
C.2.2 Sample Code in Java
Session_I myAssociatedSession = null;
public SessionImpl() {
super();
// TODO Auto-generated constructor stub
}
public void setAssociatedSession(Session_I emsSession) {
myAssociatedSession = emsSession;
}
public Session_I getAssoicatedSession (){ return myAssociatedSession;}
public void eventLossOccurred(String startTime, String notificationId) {
// TODO Auto-generated method stub
}
public void eventLossCleared(String endTime) {
// TODO Auto-generated method stub
}
public void historyPMDataCompleted(String fileName) {
// TODO Auto-generated method stub
}
public void historyPMDataFailed(String errorReason) {
// TODO Auto-generated method stub
}
public Session_I associatedSession() {
// TODO Auto-generated method stub
return null;
}
public void ping() {
// TODO Auto-generated method stub
}
public void endSession() {
// TODO Auto-generated method stub
}
}
}
C.2.2.5 Log In and Retrieve EmsSession
To perform operations from CTM GateWay/CORBA, your client must log in using a username and
password created on the CTM client. See B.1 Creating an OSS Client Profile for CTM
GateWay/CORBA, page B-1.
EmsSession_I m_emsSession = null;
SessionImpl mySessionImpl = new SessionImpl();
try {
EmsSessionFactory_I ems_ref = EmsSessionFactory_IHelper.narrow(emsSessionI);
Zobrazit stránku 479
1 2 ... 475 476 477 478 479 480 481 482 483 484 485 ... 529 530

Komentáře k této Příručce

Žádné komentáře