Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for RequestParam (0.38 sec)

  1. src/main/java/jcifs/smb/RequestParam.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    /**
     * Internal use only
     * 
     * @author mbechler
     * @internal
     */
    public enum RequestParam {
    
        /**
         * 
         */
        NONE,
    
        /**
         * Wait indefinitely for a response
         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        Smb2WriteResponse resp = th.send(request, RequestParam.NO_RETRY);
                        cnt = resp.getCount();
                    }
                    else {
                        SmbComWriteAndX request = new SmbComWriteAndX(th.getConfig(), fh.getFid(), this.fp, len - w - off, b, off, w, null);
                        th.send(request, this.write_andx_resp, RequestParam.NO_RETRY);
                        cnt = this.write_andx_resp.getCount();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

         * 
         * @param req
         * @param params
         * @return response
         * @throws CIFSException
         */
        public <T extends CommonServerMessageBlockResponse> T send ( jcifs.internal.Request<T> req, RequestParam... params ) throws CIFSException {
            return send(req, null, params);
        }
    
    
        /**
         * @param request
         * @param response
         * @param params
         * @return response
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

        public <T extends CommonServerMessageBlockResponse> T send ( jcifs.internal.Request<T> request, RequestParam... params ) throws CIFSException {
            return send(
                (CommonServerMessageBlockRequest) request,
                request.getResponse(),
                ( params != null && params.length > 0 ) ? EnumSet.copyOf(Arrays.asList(params)) : EnumSet.noneOf(RequestParam.class));
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                if ( log.isTraceEnabled() ) {
                    log.trace("Sending NtTransNotifyChange for " + this.handle);
                }
                try {
                    resp = th.send(req, resp, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY);
                }
                catch ( SmbException e ) {
                    if ( e.getNtStatus() == 0xC0000120 ) {
                        // cancelled
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                RequestParam... params ) throws CIFSException {
            return send(loc, request, response, params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params)));
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( SmbResourceLocatorImpl loc, CommonServerMessageBlockRequest request, T response,
                Set<RequestParam> params ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeInternal.java

    
        /**
         * @param request
         * @param params
         * @return response message
         * @throws CIFSException
         */
        <T extends CommonServerMessageBlockResponse> T send ( Request<T> request, RequestParam... params ) throws CIFSException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:08:49 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    req.setInputData(new ByteEncodable(buf, off, length));
                    req.setMaxOutputResponse(maxRecvSize);
                    Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return resp.getOutputLength();
                }
                else if ( this.transact ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response, Set<RequestParam> params )
                throws CIFSException {
            try ( SmbTransportImpl trans = getTransport() ) {
                if ( response != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    req.setMaxOutputResponse(16);
                    req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                    Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return ((SrvPipePeekResponse)resp.getOutputData()).getReadDataAvailable();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top