Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getRemoteAddress (0.1 sec)

  1. src/main/java/jcifs/SmbTransport.java

         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close ();
    
    
        /**
         * @return the connected address
         */
        Address getRemoteAddress ();
    
    
        /**
         * @return the connected host name
         */
        String getRemoteHostName ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                Subject s ) throws SmbException {
    
            String host = getTargetHost();
            if ( host == null ) {
                host = trans.getRemoteAddress().getHostAddress();
                try {
                    host = trans.getRemoteAddress().getHostName();
                }
                catch ( Exception e ) {
                    log.debug("Failed to resolve host name", e);
                }
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/DfsTest.java

            CIFSContext context = withAnonymousCredentials();
            DfsResolver dfs = context.getDfs();
    
            try ( SmbTransport dc = dfs.getDc(context, getTestDomain()) ) {
                Address addr = dc.getRemoteAddress();
                String remoteHostName = dc.getRemoteHostName();
                assertNotNull(addr);
                assertNotNull(remoteHostName);
                assertEquals(getTestDC(), remoteHostName);
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  4. 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;
                    }
                    log.debug("doMsrpcShareEnum failed", 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)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                    return overrideTimeout;
                }
            }
            return getContext().getConfig().getResponseTimeout();
        }
    
    
        @Override
        public Address getRemoteAddress () {
            return this.address;
        }
    
    
        @Override
        public String getRemoteHostName () {
            return this.tconHostName;
        }
    
    
        /**
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top