- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for doConnect (0.07 seconds)
-
src/main/java/jcifs/smb1/util/transport/Transport.java
thread.wait(timeout); /* wait for doConnect */ switch (state) { case 1: /* doConnect never returned */ state = 0; thread = null; throw new TransportException("Connection timeout"); case 2: if (te != null) { /* doConnect throw Exception */ state = 4; /* error */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
t.wait(timeout); /* wait for doConnect */ st = this.state; switch (st) { case 1: /* doConnect never returned */ this.state = 6; throw new ConnectionTimeoutException("Connection timeout"); case 2: if (this.te != null) { /* doConnect throw Exception */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} @Override protected int getResponseTimeout(Request request) { return 1000; } @Override protected void doConnect() throws Exception { if (connectFails) { throw new IOException("Connect failed"); } } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} private void negotiate(int port, final ServerMessageBlock resp) throws IOException { /* We cannot use Transport.sendrecv() yet because * the Transport thread is not setup until doConnect() * returns and we want to supress all communication * until we have properly negotiated. */ synchronized (sbuf) { if (port == 139) { ssn139();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
} } } @Override protected void doConnect() throws IOException { // Request directory lease for directories if (isDirectory()) { requestDirectoryLease(); } // Continue with normal connection logic super.doConnect(); } @Override public void close() throws IOException { try { super.close();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} if (referral != null) { t.markDomainDfs(); } try { if (log.isTraceEnabled()) { log.trace("doConnect: " + addr); } t.treeConnect(null, null); return t.acquire(); } catch (final SmbAuthException sae) { log.debug("Authentication failed", sae);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
docs/smb3-features/01-smb3-lease-design.md
} ``` ### 6.2 Modifying SmbFile ```java // In SmbFile.java private Smb2LeaseKey leaseKey; private int leaseState; private LeaseManager leaseManager; protected void doConnect() throws IOException { // ... existing connection logic ... if (context.getConfig().isUseLeases() && tree.getSession().supports(SMB3_0)) { // Request lease when opening fileCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} catch (final SmbException se) { throw se; } catch (final IOException ioe) { throw new SmbException("Failed to connect to server", ioe); } } void doConnect() throws IOException { SmbTransport trans; UniAddress addr = getAddress(); if (tree != null) { trans = tree.session.transport; } else {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
```java // In SmbFile.java private PersistentHandleManager handleManager; private HandleGuid handleGuid; private HandleType handleType; private boolean durableHandleRequested; protected void doConnect() throws IOException { // Check for existing durable handle handleManager = tree.getSession().getHandleManager(); HandleInfo existingHandle = handleManager.getHandleForReconnect(getPath());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} private SmbNegotiation negotiate(int prt) throws IOException { /* * We cannot use Transport.sendrecv() yet because * the Transport thread is not setup until doConnect() * returns and we want to suppress all communication * until we have properly negotiated. */ synchronized (this.inLock) { if (prt == 139) { ssn139();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0)