示例#1
0
文件: KeeICE.cs 项目: hathagat/KeeFox
 public static Ice.DispatchStatus ModifyLogin___(KP obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     KeeICE.KPlib.KPEntry oldLogin;
     oldLogin = null;
     if(oldLogin == null)
     {
         oldLogin = new KeeICE.KPlib.KPEntry();
     }
     oldLogin.read__(is__);
     KeeICE.KPlib.KPEntry newLogin;
     newLogin = null;
     if(newLogin == null)
     {
         newLogin = new KeeICE.KPlib.KPEntry();
     }
     newLogin.read__(is__);
     is__.endReadEncaps();
     IceInternal.BasicStream os__ = inS__.ostr();
     try
     {
         obj__.ModifyLogin(oldLogin, newLogin, current__);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(KeeICE.KPlib.KeeICEException ex)
     {
         os__.writeUserException(ex);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }