Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,587 for connect (8.65 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

      }
    
      @Override public void connect(SocketAddress endpoint) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), 0);
      }
    
      @Override public void connect(SocketAddress endpoint, int timeout) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), timeout);
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        class MockCurlRequest extends CurlRequest {
    
            MockCurlRequest(Curl.Method method, String url) {
                super(method, url);
            }
    
            @Override
            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

        /* Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    
        protected abstract void doConnect() throws Exception;
    
        /* Tear down a connection. If the hard parameter is true, the diconnection
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         *
         * <p>If {@code edge} already connects {@code nodeU} to {@code nodeV} (in the specified order if
         * this network {@link #isDirected()}, else in any order), then this method will have no effect.
         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if {@code edge} already exists in the network and does not
         *     connect {@code nodeU} to {@code nodeV}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                                    String service, ServerMessageBlock andx ) {
            super( andx );
            this.session = session;
            this.path = path;
            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        int getBatchLimit( byte command ) {
            int c = (int)( command & 0xFF );
            // why isn't this just return batchLimits[c]?
            switch( c ) {
                case SMB_COM_CHECK_DIRECTORY:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  6. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    
    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

         * @param service
         * @param andx
         */
        public SmbComTreeConnectAndX ( CIFSContext ctx, ServerData server, String path, String service, ServerMessageBlock andx ) {
            super(ctx.getConfig(), SMB_COM_TREE_CONNECT_ANDX, andx);
            this.ctx = ctx;
            this.server = server;
            this.path = path;
            this.service = service;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.OPTIONS, url);
        }
    
        public static CurlRequest connect(final String url) {
            return new CurlRequest(Method.CONNECT, url);
        }
    
        public enum Method {
            GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT;
        }
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            } else {
                this.calledName = new Name( calledName, 0x20, null );
            }
            soTimeout = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT );
            connect();
        }
    
        public NbtAddress getNbtAddress() {
            return address;
        }
        public InputStream getInputStream() throws IOException {
            return new SocketInputStream( super.getInputStream() );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/BaseGraph.java

      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top