Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 180 for GetConfig (0.13 seconds)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        }
    
        @Test
        void testGetConfig() {
            // Test getConfig() method
            Configuration mockConfig = mock(Configuration.class);
            when(mockDelegate.getConfig()).thenReturn(mockConfig);
            assertEquals(mockConfig, cifsContextWrapper.getConfig());
            verify(mockDelegate).getConfig();
        }
    
        @Test
        void testGetDfs() {
            // Test getDfs() method
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            super(ctx.getConfig());
            this.server = new ServerData();
            this.capabilities = ctx.getConfig().getCapabilities();
            this.negotiatedFlags2 = ctx.getConfig().getFlags2();
            this.maxMpxCount = ctx.getConfig().getMaxMpxCount();
            this.snd_buf_size = ctx.getConfig().getSendBufferSize();
            this.recv_buf_size = ctx.getConfig().getReceiveBufferSize();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            assertEquals(-1L, trace.getTreeId());
        }
    
        @Test
        @DisplayName("getConfig(): delegates to context")
        void getConfig_delegatesToContext() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
            Configuration cfg = mock(Configuration.class);
            when(ctx.getConfig()).thenReturn(cfg);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/HandlerTest.java

        @Test
        @DisplayName("openConnection returns SmbFile using provided CIFSContext")
        void testOpenConnection_UsesProvidedContext() throws MalformedURLException, IOException {
            // Arrange
            when(mockCtx.getConfig()).thenReturn(mockCfg);
            when(mockCfg.isTraceResourceUsage()).thenReturn(false);
    
            Handler handler = newHandlerWith(mockCtx);
            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbSession.java

         */
        @Override
        void close();
    
        /**
         * Returns the configuration object used by this SMB session.
         *
         * @return the configuration used by this session
         */
        Configuration getConfig();
    
        /**
         * Unwraps this session to the specified type, allowing access to implementation-specific functionality.
         *
         * @param <T> the type to unwrap to
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/context/BaseContext.java

        public SmbTransportPool getTransportPool() {
            return this.transportPool;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
        public Configuration getConfig() {
            return this.config;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getDfs()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

         */
        public RdmaTransport(SmbTransportInternal delegate, CIFSContext context) {
            this.delegate = delegate;
            this.rdmaProvider = RdmaProviderFactory.getProvider(context.getConfig());
            this.bufferManager = new RdmaBufferManager(rdmaProvider);
            this.statistics = new RdmaStatistics();
    
            log.debug("Created RDMA transport with provider: {}", rdmaProvider.getClass().getSimpleName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            return this.treeConnection.isConnected();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getConfig()
         */
        @Override
        public Configuration getConfig() {
            return this.treeConnection.getConfig();
        }
    
        /**
         * @return the currently connected tree id
         */
        public long getTreeId() {
            return this.treeConnection.getTreeId();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/SmbTreeHandle.java

     *
     */
    public interface SmbTreeHandle extends AutoCloseable {
    
        /**
         * Gets the active configuration for this tree handle
         * @return the active configuration
         */
        Configuration getConfig();
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            setResponse(resp);
            return resp;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            if (this.digest != null) {
                SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex);
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top