- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 280 for reconnect (0.08 sec)
-
docs/bucket/notifications/README.md
} stanConnection, _ = stan.Connect("test-cluster", "test-client", stan.NatsURL("nats://yourusername:yoursecret@0.0.0.0:4222"), stan.SetConnectionLostHandler(func(c stan.Conn, _ error) { go func() { for { // Reconnect if the connection is lost. if stanConnection == nil || stanConnection.NatsConn() == nil || !stanConnection.NatsConn().IsConnected() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 84.2K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
channel.getLocalInterface(), channel.getRemoteInterface() ); // Reconnect channel.setState(ChannelState.CONNECTING); newTransport.connect(); // Re-establish channel binding manager.performChannelBinding(channel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
if (persistentManager != null) { // Check if we can reconnect an existing handle byte[] existingHandle = persistentManager.getExistingHandle(uncPath); if (existingHandle != null) { // Try to reconnect durable handle req.addDurableHandleReconnectContext(existingHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
*/ final String svc = this.service0; /* * Tree Connect And X Request / Response */ if (log.isDebugEnabled()) { log.debug("treeConnect: unc=" + unc + ",service=" + svc); } if (transport.isSMB2()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
* so that it reconnects cleanly should the share * reappear in this client's lifetime. */ treeDisconnect(true); } throw se; } } } void treeConnect(final ServerMessageBlock andx, final ServerMessageBlock andxResponse) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to succeed doNothing().when(transport).connect(); // Simulate failed tree connect doThrow(new SmbException("Connection failed")).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); assertThrows(SmbException.class, () -> tree.treeConnect(null, null));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
/* Some pipes may require that the hostname in the tree connect * be the netbios name. So if we have the netbios server name * from the NTLMSSP type 2 message, and the share is IPC$, we * assert that the tree connect path uses the netbios hostname. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)