/**
         * Call remote procedure CB_COMPOUND_1.
         * @param arg1 parameter (of type CB_COMPOUND4args) to the remote procedure call.
         * @return Result from remote procedure call (of type CB_COMPOUND4res).
         * @throws OncRpcException if an ONC/RPC error occurs.
         * @throws IOException if an I/O error occurs.
         */
        public CB_COMPOUND4res CB_COMPOUND_1(CB_COMPOUND4args arg1)
        {
            CB_COMPOUND4res result_ = new CB_COMPOUND4res();

            client.call(NFSv4_callback.CB_COMPOUND_1, NFSv4_callback.NFS_CB, arg1, result_);
            return(result_);
        }
 public void dispatchOncRpcCall(OncRpcCallInformation call, int program, int version, int procedure)
         {
     if ( version == 1 ) {
         switch ( procedure ) {
         case 0: {
             call.retrieveCall(XdrVoid.XDR_VOID);
             CB_NULL_1();
             call.reply(XdrVoid.XDR_VOID);
             break;
         }
         case 1: {
             CB_COMPOUND4args args_ = new CB_COMPOUND4args();
             call.retrieveCall(args_);
             CB_COMPOUND4res result_ = CB_COMPOUND_1(args_);
             call.reply(result_);
             break;
         }
         default:
             call.failProcedureUnavailable();
             break;
         }
     } else {
         call.failProgramUnavailable();
     }
 }
Esempio n. 3
0
 public void dispatchOncRpcCall(OncRpcCallInformation call, int program, int version, int procedure)
 {
     if (version == 1)
     {
         switch (procedure)
         {
             case 0:
                 {
                     call.retrieveCall(XdrVoid.XDR_VOID);
                     CB_NULL_1();
                     call.reply(XdrVoid.XDR_VOID);
                     break;
                 }
             case 1:
                 {
                     CB_COMPOUND4args args_ = new CB_COMPOUND4args();
                     call.retrieveCall(args_);
                     CB_COMPOUND4res result_ = CB_COMPOUND_1(args_);
                     call.reply(result_);
                     break;
                 }
             default:
                 call.failProcedureUnavailable();
                 break;
         }
     }
     else
     {
         call.failProgramUnavailable();
     }
 }
 public abstract CB_COMPOUND4res CB_COMPOUND_1(CB_COMPOUND4args arg1);
Esempio n. 5
0
 public abstract CB_COMPOUND4res CB_COMPOUND_1(CB_COMPOUND4args arg1);
Esempio n. 6
0
 /**
  * Call remote procedure CB_COMPOUND_1.
  * @param arg1 parameter (of type CB_COMPOUND4args) to the remote procedure call.
  * @return Result from remote procedure call (of type CB_COMPOUND4res).
  * @throws OncRpcException if an ONC/RPC error occurs.
  * @throws IOException if an I/O error occurs.
  */
 public CB_COMPOUND4res CB_COMPOUND_1(CB_COMPOUND4args arg1) {
     CB_COMPOUND4res result_ = new CB_COMPOUND4res();
     client.call(NFSv4_callback.CB_COMPOUND_1, NFSv4_callback.NFS_CB, arg1, result_);
     return result_;
 }