Esempio n. 1
0
 public static Ice.DispatchStatus add_member___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string nodeID;
     string userID;
     nodeID = is__.readString();
     userID = is__.readString();
     inS__.endReadParams();
     try
     {
         minie.irpc.cm_node_user_rpc ret__ = obj__.add_member(nodeID, userID, current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         os__.writeObject(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;
     }
 }