Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getTreeType (0.11 sec)

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

                }
                return null;
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getTreeType()
         */
        @Override
        public int getTreeType () {
            return this.treeConnection.getTreeType();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getConnectedShare()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTreeHandle.java

         */
        boolean isSMB2 ();
    
    
        /**
         * @return the remote host name
         */
        String getRemoteHostName ();
    
    
        /**
         * @return the tree type
         */
        int getTreeType ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
    
        /**
         * Only call this method while holding a tree handle
         * 
         * @return the connected tree type
         */
        public int getTreeType () {
            try ( SmbTreeImpl t = getTree() ) {
                return t.getTreeType();
            }
        }
    
    
        /**
         * 
         * Only call this method while holding a tree handle
         * 
         * @return the share we are connected to
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    		return ms, true
    	}
    	// TODO support list
    	n := match.GetMatcherTree().GetInput().GetName()
    
    	var m map[string]*matcher.Matcher_OnMatch
    	equality := "="
    	switch v := match.GetMatcherTree().GetTreeType().(type) {
    	case *matcher.Matcher_MatcherTree_ExactMatchMap:
    		m = v.ExactMatchMap.Map
    	case *matcher.Matcher_MatcherTree_PrefixMatchMap:
    		m = v.PrefixMatchMap.Map
    		equality = "^"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

            return this.tid != -1 && this.session.isConnected() && this.connectionState.get() == 2;
        }
    
    
        /**
         * @return the type of this tree
         */
        public int getTreeType () {
            String connectedService = getService();
            if ( "LPT1:".equals(connectedService) ) {
                return SmbConstants.TYPE_PRINTER;
            }
            else if ( "COMM".equals(connectedService) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            try {
                int t = this.fileLocator.getType();
                if ( t == TYPE_SHARE ) {
                    try ( SmbTreeHandle th = ensureTreeConnected() ) {
                        this.fileLocator.updateType(th.getTreeType());
                    }
                }
                return t;
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top