public void decode_out(NdrBuffer paramNdrBuffer) {
   if (paramNdrBuffer.dec_ndr_long() != 0) {
     paramNdrBuffer.dec_ndr_short();
     info.decode(paramNdrBuffer);
   }
   retval = paramNdrBuffer.dec_ndr_long();
 }
예제 #2
0
파일: srvsvc.java 프로젝트: fzoske/jcifs
 public void decode_out(NdrBuffer _src) throws NdrException {
   _src.dec_ndr_long(); /* union discriminant */
   int _infop = _src.dec_ndr_long();
   if (_infop != 0) {
     if (info == null) {
         /* YOYOYO */
       info = new ServerInfo100();
     }
     _src = _src.deferred;
     info.decode(_src);
   }
   retval = (int) _src.dec_ndr_long();
 }
예제 #3
0
파일: srvsvc.java 프로젝트: fzoske/jcifs
 public void decode_out(NdrBuffer _src) throws NdrException {
   level = (int) _src.dec_ndr_long();
   _src.dec_ndr_long(); /* union discriminant */
   int _infop = _src.dec_ndr_long();
   if (_infop != 0) {
     if (info == null) {
         /* YOYOYO */
       info = new ShareInfoCtr0();
     }
     _src = _src.deferred;
     info.decode(_src);
   }
   totalentries = (int) _src.dec_ndr_long();
   resume_handle = (int) _src.dec_ndr_long();
   retval = (int) _src.dec_ndr_long();
 }
예제 #4
0
파일: srvsvc.java 프로젝트: fzoske/jcifs
 public void encode_in(NdrBuffer _dst) throws NdrException {
   _dst.enc_ndr_referent(servername, 1);
   if (servername != null) {
     _dst.enc_ndr_string(servername);
   }
   _dst.enc_ndr_long(level);
   int _descr = level;
   _dst.enc_ndr_long(_descr);
   _dst.enc_ndr_referent(info, 1);
   if (info != null) {
     _dst = _dst.deferred;
     info.encode(_dst);
   }
   _dst.enc_ndr_long(prefmaxlen);
   _dst.enc_ndr_long(resume_handle);
 }