- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 259 for Transport (0.13 seconds)
-
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/main/java/jcifs/util/transport/Transport.java
* concurrently. */ /** * Abstract base class for network transport implementations in JCIFS. * This class handles the low-level transport protocol for SMB communication. */ public abstract class Transport implements Runnable, AutoCloseable { /** * Default constructor for Transport */ protected Transport() { // Default constructor } private static int id = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K 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) -
internal/http/transports.go
ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize), } // For more details about various values used here refer // https://golang.org/pkg/net/http/#Transport documentation tr := &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: dialContext, MaxIdleConnsPerHost: maxIdleConnsPerHost, WriteBufferSize: WriteBufferSize,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Transport and context delegation assertSame(cifsContext, session.getContext()); clearInvocations(transport); assertSame(transport, session.getTransport()); verify(transport, times(1)).acquire(); } @Test @DisplayName("close/release manage usage and transport lifecycle") void testReleaseLifecycle() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K 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/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* @throws SmbException if an error occurs checking capabilities */ boolean hasCapability(int cap) throws SmbException; /** * Checks if the transport has been disconnected. * * @return whether the transport has been disconnected */ boolean isDisconnected(); /** * Disconnects the transport from the remote server. *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) -
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)