Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for hark (0.12 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

        }
        public synchronized void disconnect( boolean hard ) throws IOException {
            IOException ioe = null;
    
            switch (state) {
                case 0: /* not connected - just return */
                    return;
                case 2:
                    hard = true;
                case 3: /* connected - go ahead and disconnect */
                    if (response_map.size() != 0 && !hard) {
                        break; /* outstanding requests */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int state, mark, si;
            char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                char ch = arr[ si ];
    
                switch ( state ) {
                case 0:
                    if ( ch == ':' ) {
                        proto = str.substring(mark, si);
                        mark = si + 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Disconnect the transport
         * 
         * @param hard
         * @return whether conenction was in use
         * @throws IOException
         */
        public synchronized boolean disconnect ( boolean hard ) throws IOException {
            return disconnect(hard, true);
        }
    
    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @param inUse
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportInternal.java

        /**
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected ();
    
    
        /**
         * @param hard
         * @param inuse
         * @return whether the connection was in use
         * @throws IOException
         */
        boolean disconnect ( boolean hard, boolean inuse ) throws IOException;
    
    
        /**
         * @return whether the transport was connected
         * @throws SmbException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            if ( s.indexOf('.') < 0 && s.toUpperCase(Locale.ROOT).equals(s) ) {
                String fqdn = s + "." + dom;
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
                }
                this.server = fqdn;
            }
        }
    
    
        @Override
        public void fixupHost ( String fqdn ) {
            String s = getServer();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                                                        throws UnknownHostException {
            NbtAddress addr;
    
            if( name.hexCode == 0x1d && svr == null ) {
                svr = CLIENT.baddr; // bit of a hack but saves a lookup
            }
            name.srcHashCode = svr != null ? svr.hashCode() : 0;
            addr = getCachedAddress( name );
    
            if( addr == null ) {
    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)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                            mark = si + 1;
                            state = 5;
                        }
                        break;
                    case 5:
                        if (ch == '=') {
                            key = str.substring(mark, si).trim();
                            mark = si + 1;
                        } else if (ch == ',' || ch == ']') {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
            }
        }
    
    
        protected synchronized void doDisconnect ( boolean hard ) throws IOException {
            doDisconnect(hard, false);
        }
    
    
        @Override
        protected synchronized boolean doDisconnect ( boolean hard, boolean inUse ) throws IOException {
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
            }
        }
        protected void doDisconnect( boolean hard ) throws IOException {
            ListIterator iter = sessions.listIterator();
            try {
                while (iter.hasNext()) {
                    SmbSession ssn = (SmbSession)iter.next();
                    ssn.logoff( hard );
                }
                socket.shutdownOutput();
                out.close();
                in.close();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         * 
         * Property <tt>jcifs.smb.client.dfs.disabled</tt> (boolean, default false)
         * 
         * @return whether DFS lookup is disabled
         */
        boolean isDfsDisabled ();
    
    
        /**
         * Enable hack to make kerberos auth work with DFS sending short names
         * 
         * This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not
         * correct for your domain.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top