Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Try (0.19 sec)

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

            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    
        @Override
        public boolean canWrite () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for writing?
                return true;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
                    throw new IOException("transport closed in negotiate");
            }
            finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                throws CIFSException {
            try ( SmbTransportImpl trans = getTransport() ) {
                if ( response != null ) {
                    response.clearReceived();
                    response.setExtendedSecurity(this.extendedSecurity);
                }
    
                try {
                    if ( params.contains(RequestParam.NO_TIMEOUT) ) {
                        this.expiration = -1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top