Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ensureConnected (0.08 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(trans2.unwrap(SmbTransportImpl.class)).thenReturn(trans2);
            when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed"));
            doNothing().when(trans2).close();
    
            when(trans1.unwrap(SmbTransportImpl.class)).thenReturn(trans1);
            when(trans1.ensureConnected()).thenReturn(true);
            when(trans1.acquire()).thenReturn(trans1);
            doNothing().when(trans1).close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                }
                try (SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class)) {
                    try {
                        trans.ensureConnected();
                    } catch (final IOException e) {
                        removeTransport(trans);
                        throw e;
                    }
                    return trans.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/MultiChannelManager.java

                SmbTransportImpl transport = new SmbTransportImpl(context, serverUniAddress, port, localAddress, localPort, forceSigning);
    
                // Ensure the transport is connected and ready
                transport.ensureConnected();
    
                // Verify multi-channel capability (SMB3+ required)
                if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                synchronized (transport) {
    
                    // this needs to be done before the reference to the remote hostname later
                    transport.ensureConnected();
    
                    if (waitForState(transport) == 2) {
                        // already connected
                        return null;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                            throw new SmbException(ie.getMessage(), ie);
                        }
                    }
    
                    try {
                        trans.ensureConnected();
    
                        /*
                         * Session Setup And X Request / Response
                         */
    
                        if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top