Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 180 for setConfig (0.3 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                message.setIpAddress(request.getServerAddress());
                message.setClientComputerName(context.getConfig().getNetbiosHostname());
                message.setFlags(request.getFlags());
                message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000));
    
                // Send the RPC request
                rpcHandle.sendrecv(message);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmServletTest.java

            lenient().when(request.getMethod()).thenReturn("GET");
    
            // Setup CIFSContext configuration mock
            lenient().when(cifsContext.getConfig()).thenReturn(configuration);
            lenient().when(configuration.getDefaultDomain()).thenReturn("TEST_DOMAIN");
        }
    
        /**
         * Test the init method of the servlet.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        }
    
        /**
         *
         * @return a cancel request
         */
        @Override
        public CommonServerMessageBlockRequest createCancel() {
            return new SmbComNtCancel(getConfig(), (int) getMid());
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            void testConstructorWithConfig() {
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
    
            @Test
            @DisplayName("Should construct with config and command")
            void testConstructorWithConfigAndCommand() {
                int command = 0x01;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            this.fileId = fileId;
        }
    
        @Override
        protected Smb2FlushResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2FlushResponse> req) {
            return new Smb2FlushResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.digest = Crypto.getMD5();
            try {
                final byte[] serverEncryptionKey = transport.getServerEncryptionKey();
                switch (transport.getContext().getConfig().getLanManCompatibility()) {
                case 0:
                case 1:
                case 2:
                    this.macSigningKey = new byte[40];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            }
        }
    
        static FileEntry[] doNetShareEnum(final SmbTreeHandleImpl th) throws CIFSException {
            final SmbComTransaction req = new NetShareEnum(th.getConfig());
            final SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig());
            th.send(req, resp);
            if (resp.getStatus() != WinError.ERROR_SUCCESS) {
                throw new SmbException(resp.getStatus(), true);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                            log.debug("Unknown host", uhe);
                            if (this.ctx.getConfig().getDefaultDomain() == null) {
                                throw uhe;
                            }
                            this.addresses = this.ctx.getNameServiceClient().getAllByName(this.ctx.getConfig().getDefaultDomain(), true);
                        }
                    } else if (path.length() == 0 || path.equals("/")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                t.setDaemon(true);
                return t;
            });
            this.loadBalancer = new ChannelLoadBalancer(this);
            this.failover = new ChannelFailover(this);
    
            Configuration config = context.getConfig();
            this.maxChannels = getMaxChannelsFromConfig(config);
            this.channelCounter = new AtomicInteger(0);
            this.multiChannelEnabled = false;
    
            // Schedule periodic health checks
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

        }
    
        @Override
        protected Smb2TreeConnectResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2TreeConnectResponse> req) {
            return new Smb2TreeConnectResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#chain(jcifs.internal.smb2.ServerMessageBlock2)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top