- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 192 for get_config (3.87 sec)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
*/ public Smb2SessionSetupRequest(final CIFSContext context, final int securityMode, final int capabilities, final long previousSessionid, final byte[] token) { super(context.getConfig(), SMB2_SESSION_SETUP); this.securityMode = securityMode; this.capabilities = capabilities; this.previousSessionId = previousSessionid; this.token = token; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
} } // Request new durable handle if configured if (context.getConfig().isUseDurableHandles()) { requestDurableHandle(); } // ... rest of normal connection logic ... } private void requestDurableHandle() { Configuration config = context.getConfig(); // Determine handle type based on configuration and server capabilities
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Then assertNotNull(response); assertTrue(response instanceof Smb2SessionSetupResponse); // The constructor calls getConfig once, createResponse calls it once verify(mockContext, times(2)).getConfig(); } @Test @DisplayName("Should set session binding flag correctly") void testSetSessionBinding() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
private NameServiceClientImpl nameServiceClient; @BeforeEach void setUp() throws UnknownHostException { // Configure mock context with fast timeouts when(mockContext.getConfig()).thenReturn(mockConfig); // Setup configuration with minimal timeouts for fast testing when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeout
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
@BeforeEach void setUp() { // Common setup for most tests lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle); lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
@DisplayName("getters and basic state (happy path)") void testGettersAndState() { SmbSessionImpl session = newSession(); // Basic getters assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext"); assertEquals("EXAMPLE", session.getTargetDomain()); assertEquals("server.example", session.getTargetHost());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public void testRdmaFallbackToTcp() throws Exception { // Test that we properly fall back to TCP when RDMA is not available CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); context.getConfig().setProperty("jcifs.smb.client.rdmaProvider", "nonexistent"); SmbFile file = new SmbFile("smb://server/share/test.txt", context);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
*/ public SmbComTreeConnectAndX(final CIFSContext ctx, final ServerData server, final String path, final String service, final ServerMessageBlock andx) { super(ctx.getConfig(), SMB_COM_TREE_CONNECT_ANDX, andx); this.ctx = ctx; this.server = server; this.path = path; this.service = service; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0)