コード例 #1
0
ファイル: minie_service_app.cs プロジェクト: srdgame/wpf_test
 public static Ice.DispatchStatus get_friends___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.readEmptyParams();
     try
     {
         _System.Collections.Generic.List<minie.irpc.cm_user_friend_rpc> ret__ = obj__.get_friends(current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         minie.irpc.cm_user_friend_rpc_listHelper.write(os__, ret__);
         os__.writePendingObjects();
         inS__.endWriteParams__(true);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(minie.irpc.InvalidDataError ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }