Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 295 for Transport (0.05 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

     * <p>
     * This implementation is backed by Maven Resolver API, supported protocols and transport selection depends on it. If
     * resolver preference regarding transport is altered, it will affect this service as well.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface TransportProvider extends Service {
        /**
         * Provides new {@link Transport} instance for given {@link RemoteRepository}, if possible.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top