Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 174 for GetConfig (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         */
        @Override
        protected Smb2ChangeNotifyResponse createResponse(final CIFSContext tc,
                final ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req) {
            return new Smb2ChangeNotifyResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            witnessServer = InetAddress.getByName("192.168.1.200");
            serverAddress = InetAddress.getByName("192.168.1.100");
    
            // Setup mock configuration with lenient stubbing
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L);
            lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        private SmbTransport mockTransport;
    
        @Mock
        private CommonServerMessageBlock mockMessage;
    
        private ChannelManager channelManager;
    
        @BeforeEach
        void setUp() {
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.isUseMultiChannel()).thenReturn(true);
            when(mockConfig.getMaxChannels()).thenReturn(4);
            when(mockConfig.getChannelBindingPolicy()).thenReturn(1); // preferred
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.expiration = exp;
        }
    
        /**
         * Gets the configuration object for this message block
         * @return the config
         */
        protected final Configuration getConfig() {
            return this.config;
        }
    
        /**
         *
         */
        @Override
        public void reset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("Trans2FindNext2[" + super.toString() + ",sid=" + this.sid + ",searchCount=" + getConfig().getListSize()
                    + ",informationLevel=0x" + Hexdump.toHexString(this.informationLevel, 3) + ",resumeKey=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if (this.andx == null || !getConfig().isUseBatching()
                    || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand())) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        void testConstructorWithTransportThrowsException() throws Exception {
            when(mockTransport.getContext()).thenReturn(mockContext);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getLanManCompatibility()).thenReturn(3);
            when(mockTransport.getServerEncryptionKey()).thenThrow(new RuntimeException("Test exception"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            lenient().when(mockConfig.getLanManCompatibility()).thenReturn(3); // Default NTLMv2
            lenient().when(mockConfig.getMachineId()).thenReturn(machineId);
            lenient().when(mockCtx.getConfig()).thenReturn(mockConfig);
            lenient().when(mockCtx.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            }
        }
    
        @BeforeEach
        void setUp() throws Exception {
            parent = mock(SmbFile.class);
            when(parent.getLocator()).thenReturn(locator);
            when(treeHandle.getConfig()).thenReturn(config);
            when(treeHandle.acquire()).thenReturn(treeHandle);
            when(treeHandle.getOEMDomainName()).thenReturn("TESTDOMAIN");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            mockConfig = Mockito.mock(Configuration.class);
            mockCredentials = Mockito.mock(Credentials.class);
            mockCredentialsInternal = Mockito.mock(CredentialsInternal.class);
    
            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top