- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 172 for transport (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/util/transport/Transport.java
* concurrently. */ public abstract class Transport implements Runnable { /** * Default constructor for Transport. */ public Transport() { // Default constructor } static int id = 0; static LogStream log = LogStream.getInstance(); /** * Reads exactly len bytes from the input stream into the buffer. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
void testRemoveTransport() { // Given doNothing().when(transportPool).removeTransport(transport); // When transportPool.removeTransport(transport); // Then verify(transportPool).removeTransport(transport); } @Test @DisplayName("Should handle null transport removal")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
void signingModes() throws Exception { when(transport.isSigningOptional()).thenReturn(true); when(transport.isSigningEnforced()).thenReturn(false); assertTrue(transport.isSigningOptional()); assertFalse(transport.isSigningEnforced()); verify(transport).isSigningOptional(); verify(transport).isSigningEnforced(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "smb2", false); Smb2NegotiateResponse smb2 = new Smb2NegotiateResponse(cfg); setField(transport, "negotiated", smb2); assertTrue(transport.isSMB2()); // 3) SMB1 negotiation SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx); setField(transport, "negotiated", smb1); assertFalse(transport.isSMB2()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
List<SmbTransportImpl> unhealthy = new ArrayList<>(); for (SmbTransportImpl transport : connections) { try { // Perform comprehensive health check if (isConnectionUnhealthy(transport)) { unhealthy.add(transport); String key = getConnectionKey(transport); recordConnectionFailure(key);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
@Test @DisplayName("Should remove transport from pool") void testRemoveTransport() { // Given: A pooled connection SmbTransportImpl transport = pool.getSmbTransport(ctx, address, 445, false); assertTrue(pool.contains(transport), "Transport should be in pool initially"); // When: Remove the transport pool.removeTransport(transport);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
} /** * Get the transport for this channel * * @return SMB transport */ public SmbTransport getTransport() { return transport; } /** * Set the transport for this channel * * @param transport SMB transport */ public void setTransport(SmbTransport transport) { this.transport = transport; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) { synchronized (transport) { // this needs to be done before the reference to the remote hostname later transport.ensureConnected(); if (waitForState(transport) == 2) { // already connected return null;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
return transport.getNegotiateResponse().getSendBufferSize(); } } @Override public int getReceiveBufferSize() throws SmbException { try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { return transport.getNegotiateResponse().getReceiveBufferSize();
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) -
src/main/java/jcifs/smb/MultiChannelManager.java
transport.ensureConnected(); // Verify multi-channel capability (SMB3+ required) if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL throw new CIFSException("Server does not support SMB multi-channel capability"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0)