Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Connected (0.05 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

        class StateManagementTests {
    
            @Test
            @DisplayName("should correctly identify disconnected states")
            void shouldIdentifyDisconnectedStates() {
                // States: 0=not connected, 1=connecting, 2=run connected, 3=connected,
                // 4=error, 5=disconnecting, 6=disconnected/invalid
                int[] disconnectedStates = { 0, 4, 5, 6 };
                int[] connectedStates = { 1, 2, 3 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTree.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class SmbTree {
    
        private static int tree_conn_counter;
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTreeHandle.java

         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Checks whether the tree is currently connected
         * @return the tree is connected
         */
        boolean isConnected();
    
        /**
         * Gets the server timezone offset in milliseconds
         * @return server timezone offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/TreeConnectResponse.java

     * service type, and DFS information for the connected share.
     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Returns the tree identifier (TID) assigned to this tree connection.
         *
         * @return tree id
         */
        int getTid();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            }
            super.prepare(next);
        }
    
        /**
         * Returns the type of the connected share (disk, pipe, or print).
         *
         * @return the shareType
         */
        public byte getShareType() {
            return this.shareType;
        }
    
        /**
         * Returns the flags describing characteristics of the connected share.
         *
         * @return the shareFlags
         */
        public int getShareFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                socketChannel.connect(remoteAddress);
                socket = socketChannel.socket();
                socket.setTcpNoDelay(true);
                socket.setKeepAlive(true);
    
                state = RdmaConnectionState.CONNECTED;
                log.debug("TCP RDMA connection established to {}", remoteAddress);
    
            } catch (IOException e) {
                state = RdmaConnectionState.ERROR;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeHandleTest.java

        /**
         * Test for getConnectedShare() method.
         * Verifies that the method returns the correct connected share name.
         */
        @Test
        void testGetConnectedShare() {
            when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE");
            assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE");
        }
    
        /**
         * Test for isSameTree() method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbTransport.java

         */
        @Override
        void close();
    
        /**
         * Gets the address of the remote SMB server.
         *
         * @return the connected address
         */
        Address getRemoteAddress();
    
        /**
         * Gets the host name of the remote SMB server.
         *
         * @return the connected host name
         */
        String getRemoteHostName();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

      private val taskRunner: TaskRunner,
    ) : ExchangeFinder {
      private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L)
      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
       * Plans currently being connected, and that will later be added to [connectResults]. This is
       * mutated by the call thread only. If is accessed by background connect threads.
       */
      private val tcpConnectsInFlight = CopyOnWriteArrayList<Plan>()
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt

    internal class ReusePlan(
      val connection: RealConnection,
    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top