Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getLocalPort (0.17 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
    
        @Override
        public SmbTransportImpl getSmbTransport ( CIFSContext tc, Address address, int port, boolean nonPooled, boolean forceSigning ) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled, forceSigning);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        public InetAddress getLocalAddress() {
            return super.getLocalAddress();
        }
        public int getLocalPort() {
            return super.getLocalPort();
        }
        public String toString() {
            return "NbtSocket[addr=" + address +
                    ",port=" + super.getPort() +
                    ",localport=" + super.getLocalPort() + "]";
        }
        private void connect() throws IOException {
            byte[] buffer = new byte[BUFFER_SIZE];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getSessionTimeout();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.Configuration#getLocalPort()
         */
        @Override
        public int getLocalPort () {
            return this.delegate.getLocalPort();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.Configuration#getLocalAddr()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

        private val remotePort: Int = 1234,
      ) : Socket() {
        override fun getInetAddress() = remoteAddress
    
        override fun getLocalAddress() = localAddress
    
        override fun getLocalPort() = localPort
    
        override fun getPort() = remotePort
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

          serverSocketChannel = UnixServerSocketChannel.open();
          serverSocketChannel.configureBlocking(true);
          serverSocketChannel.socket().bind(address);
        }
    
        @Override public int getLocalPort() {
          return 1; // A white lie. There is no local port.
        }
    
        @Override public SocketAddress getLocalSocketAddress() {
          return endpoint;
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getKeepAlive(): Boolean {
        return delegate!!.keepAlive
      }
    
      override fun getLocalAddress(): InetAddress {
        return delegate!!.localAddress
      }
    
      override fun getLocalPort(): Int {
        return delegate!!.localPort
      }
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream {
        return delegate!!.outputStream
      }
    
      override fun getPort(): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

            return this.netbiosHostname;
        }
    
    
        @Override
        public InetAddress getLocalAddr () {
            return this.smbLocalAddress;
        }
    
    
        @Override
        public int getLocalPort () {
            return this.smbLocalPort;
        }
    
    
        @Override
        public int getConnTimeout () {
            return this.smbConnectionTimeout;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TimeoutTest.java

            try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) {
                int port = ss.getLocalPort();
                InetAddress addr = ss.getInetAddress();
    
                long start = System.currentTimeMillis();
                CIFSContext ctx = lowConnectTimeout(getContext());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         */
        int getResponseTimeout ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.lport</tt> (int)
         * 
         * @return local port to use for outgoing connections
         */
        int getLocalPort ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.laddr</tt> (string)
         * 
         * @return local address to use for outgoing connections
         */
        InetAddress getLocalAddr ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top