- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 366 for reconnect (0.07 sec)
-
internal/grid/connection.go
// Signal that we are reconnected, update state and handle messages. // Prevent other connections from connecting while we process. c.reconnectMu.Lock() if c.remoteID != nil { c.reconnected() } rid := uuid.UUID(req.ID) c.remoteID = &rid // Handle incoming messages until disconnect. c.handleMessages(ctx, conn) return nil } // reconnected signals the connection has been reconnected.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 84K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
*/ 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 Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
* connected. Bastards! Disconnect this tree * so that it reconnects cleanly should the share * reappear in this client's lifetime. */ treeDisconnect( true ); } throw se; } } } void treeConnect( ServerMessageBlock andx,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
try { return connect(loc); } catch ( UnknownHostException uhe ) { throw new SmbException("Failed to connect to server", uhe); } catch ( SmbException se ) { throw se; } catch ( IOException ioe ) { throw new SmbException("Failed to connect to server", ioe); } } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
switch (state) { case 1: /* doConnect never returned */ state = 0; thread = null; throw new TransportException( "Connection timeout" ); case 2: if (te != null) { /* doConnect throw Exception */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 9K bytes - Viewed (0) -
internal/grid/msg.go
// Op is operation type messages. type Op uint8 // HandlerID is the ID for the handler of a specific type. type HandlerID uint8 const ( // OpConnect is a connect request. OpConnect Op = iota + 1 // OpConnectResponse is a response to a connect request. OpConnectResponse // OpPing is a ping request. // If a mux id is specified that mux is pinged. // Clients send ping requests. OpPing
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 7.6K 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 Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K 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. */ tcax.path = "\\\\" + netbiosName + "\\IPC$";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} } } } public void connect() throws SmbException { try { super.connect( RESPONSE_TIMEOUT ); } catch( TransportException te ) { throw new SmbException( "Failed to connect: " + address, te ); } } protected void doConnect() throws IOException { /* * Negotiate Protocol Request / Response
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0)