- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 533 for transport (0.05 seconds)
-
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) -
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/SmbTransportPool.java
* @return a transport connection to the target */ SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean exclusive, boolean forceSigning); /** * Removes a transport from the pool. * * @param trans the transport to remove */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K 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/SmbTransport.java
*/ package jcifs; /** * Opaque reference to a SMB transport * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface SmbTransport extends AutoCloseable { /** * Gets the CIFS context associated with this transport. * * @return the context this transport is attached to */ CIFSContext getContext(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K 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) -
internal/config/subnet/config.go
cfg.Proxy = proxy if transport == nil { // when transport is nil, it means we are just validating the // inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil { if tr, ok := transport.(*http.Transport); ok { ctransport := tr.Clone() ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL))Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.9K 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)