Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for trees (0.14 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

            this.localPort = localPort;
            this.auth = auth;
            trees = new Vector();
            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree( String share, String service ) {
            SmbTree t;
    
            if( share == null ) {
                share = "IPC$";
            }
            for( Enumeration e = trees.elements(); e.hasMoreElements(); ) {
                t = (SmbTree)e.nextElement();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileOperationsTest.java

                f.createNewFile();
                boolean renamed = false;
                try {
                    f.renameTo(tgt, true);
                    Assert.assertFalse("Should not be able to rename between trees", true);
                }
                catch ( SmbUnsupportedOperationException e ) {
                    try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) {
                        Assume.assumeTrue("Not SMB2", th.isSMB2());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            return this.pipe;
        }
    
    
        @Override
        public SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            if ( this.treeHandle == null ) {
                // extra acquire to keep the tree alive
                this.treeHandle = this.pipe.ensureTreeConnected();
            }
            return this.treeHandle.acquire();
        }
    
    
        public String getUncPath () {
            return this.uncPath;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

    
        /**
         * Property <tt>jcifs.smb.client.strictResourceLifecycle</tt> (bool, default false)
         * 
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc;
    import jcifs.util.transport.TransportException;
    
    
    /**
     * This class encapsulates the logic for switching tree connections
     * 
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     * 
     * @author mbechler
     *
     */
    class SmbTreeConnection {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        private int pathConsumed;
        private long ttl;
        private String server; // Server
        private String share; // Share
        private String link;
        private String path; // Path relative to tree from which this referral was thrown
    
        private long expiration;
        private int rflags;
    
        private boolean resolveHashes;
    
        private DfsReferralDataImpl next;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

    /** 
     * Try Broadcast queries first, then try to resolve the name using the
     * nameserver.
     */
    
        public static final int M_NODE = 2;
    
    /** 
     * A Hybrid node tries to resolve a name using the nameserver first. If
     * that fails use the broadcast address. This is the default if a nameserver
     * is provided. This is the behavior of Microsoft Windows machines.
     */ 
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

    import jcifs.internal.smb2.nego.Smb2NegotiateResponse;
    import jcifs.internal.smb2.tree.Smb2TreeConnectRequest;
    import jcifs.internal.smb2.tree.Smb2TreeDisconnectRequest;
    
    
    class SmbTreeImpl implements SmbTreeInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeImpl.class);
    
        private static AtomicLong TREE_CONN_COUNTER = new AtomicLong();
    
        /*
         * 0 - not connected
         * 1 - connecting
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                break;
            case SMB2_LOGOFF:
                c = "SMB2_LOGOFF";
                break;
            case SMB2_TREE_CONNECT:
                c = "SMB2_TREE_CONNECT";
                break;
            case SMB2_TREE_DISCONNECT:
                c = "SMB2_TREE_DISCONNECT";
                break;
            case SMB2_CREATE:
                c = "SMB2_CREATE";
                break;
            case SMB2_CLOSE:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static final byte SMB_COM_FIND_CLOSE2        = (byte)0x34;
        static final byte SMB_COM_TREE_DISCONNECT    = (byte)0x71;
        static final byte SMB_COM_NEGOTIATE          = (byte)0x72;
        static final byte SMB_COM_SESSION_SETUP_ANDX = (byte)0x73;
        static final byte SMB_COM_LOGOFF_ANDX        = (byte)0x74;
        static final byte SMB_COM_TREE_CONNECT_ANDX  = (byte)0x75;
        static final byte SMB_COM_NT_TRANSACT        = (byte)0xA0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
Back to top