Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 199 for Transport (0.09 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    import jcifs.util.transport.Response;
    
    
    /**
     * 
     */
    public class SmbComNegotiateResponse extends ServerMessageBlock implements SmbNegotiationResponse {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                throw new IllegalArgumentException( "Invalid mode" );
            }
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, options );
            readSize = file.tree.session.transport.rcv_buf_size - 70;
            writeSize = file.tree.session.transport.snd_buf_size - 70;
            fp = 0L;
        }
    
        public int read() throws SmbException {
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  3. internal/config/dns/operator_dns.go

    		return nil, errors.New("invalid argument")
    	}
    
    	args := &OperatorDNS{
    		Endpoint: endpoint,
    	}
    	for _, setter := range setters {
    		setter(args)
    	}
    	args.httpClient = &http.Client{
    		Transport: &http.Transport{
    			Proxy: http.ProxyFromEnvironment,
    			DialContext: (&net.Dialer{
    				Timeout:   3 * time.Second,
    				KeepAlive: 5 * time.Second,
    			}).DialContext,
    			ResponseHeaderTimeout: 3 * time.Second,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. internal/http/close.go

    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    	if respBody != nil {
    		// Drain any remaining Body and then close the connection.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/CIFSContext.java

         */
        NameServiceClient getNameServiceClient ();
    
    
        /**
         * @return the buffer cache
         */
        BufferCache getBufferCache ();
    
    
        /**
         * @return the transport pool
         */
        SmbTransportPool getTransportPool ();
    
    
        /**
         * @return the DFS instance for this context
         */
        DfsResolver getDfs ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            if ( url.startsWith("ncacn_np:") ) {
                return new DcerpcPipeHandle(url, tc, unshared);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
    
        /**
         * Bind the handle
         * 
         * @throws DcerpcException
         * @throws IOException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Request.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util.transport;
    
    
    /**
     * 
     *
     */
    public interface Request extends Message {
    
        /**
         * @return number of credits this request requires
         */
        int getCreditCost ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                  SmbSessionImpl session = th.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                try {
                    entries = doMsrpcShareEnum(tc, locator, transport.getRemoteAddress());
                }
                catch ( IOException ioe ) {
                    if ( th.isSMB2() ) {
                        throw ioe;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionInternal.java

        boolean isInUse ();
    
    
        /**
         * @return the current session key
         * @throws CIFSException
         */
        byte[] getSessionKey () throws CIFSException;
    
    
        /**
         * 
         * @return the transport for this session
         */
        SmbTransport getTransport ();
    
    
        /**
         * Connect to the logon share
         * 
         * @throws SmbException
         */
        void treeConnectLogon () throws SmbException;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. internal/http/dial_dnscache.go

    // If it fails to dial all IPs from cache it returns first error. If no baseDialFunc
    // is given, it sets default dial function.
    //
    // You can use returned dial function for `http.Transport.DialContext`.
    //
    // In this function, it uses functions from `rand` package. To make it really random,
    // you MUST call `rand.Seed` and change the value from the default in your application
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top