Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for connectLogon (0.05 sec)

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

        private CommonServerMessageBlockResponse response;
    
        @Test
        @DisplayName("connectLogon invokes underlying implementation")
        void connectLogon_invocation_isForwarded() throws Exception {
            // Act
            tree.connectLogon(context);
    
            // Assert - verify interaction with dependency
            verify(tree, times(1)).connectLogon(context);
            verify(tree, never()).close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeInternal.java

         * @param tf the CIFS context to use for connection
         * @throws SmbException if an SMB error occurs during connection
         */
        @Deprecated
        void connectLogon(CIFSContext tf) throws SmbException;
    
        /**
         * Sends an SMB request and returns the response
         * @param <T> the response type
         * @param request the request to send
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
            }
            return cs;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbTreeInternal#connectLogon(jcifs.CIFSContext)
         */
        @Override
        @Deprecated
        public void connectLogon(final CIFSContext tf) throws SmbException {
            if (tf.getConfig().getLogonShare() == null) {
                try {
                    treeConnect(null, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // When: Perform logon
            poolSpy.logon(ctx, address);
    
            // Then: Should connect to IPC$ share
            verify(tree).connectLogon(ctx);
        }
    
        @Test
        @DisplayName("Should sort addresses by fail count and failover")
        void testFailoverWithFailCounts() throws Exception {
            // Given: Multiple addresses with different fail counts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class)) {
                tree.connectLogon(tf);
            }
        }
    
        /**
         * Perform health check on connections
         */
        private void performHealthCheck() {
            long now = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top