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