Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getRemoteHostName (0.52 sec)

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

    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getRemoteHostName()
         */
        @Override
        public String getRemoteHostName () {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getRemoteHostName();
            }
        }
    
    
        /**
         * {@inheritDoc}
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTreeHandle.java

    
        /**
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2 ();
    
    
        /**
         * @return the remote host name
         */
        String getRemoteHostName ();
    
    
        /**
         * @return the tree type
         */
        int getTreeType ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTransport.java

        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)
  4. src/main/java/jcifs/smb/DfsImpl.java

                    if ( trans != null ) {
                        // get domain referral
                        initial = trans.getDfsReferrals(tf.withAnonymousCredentials(), "", trans.getRemoteHostName(), authDomain, 0);
                    }
                    if ( initial != null ) {
                        DfsReferralDataInternal start = initial.unwrap(DfsReferralDataInternal.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/DfsTest.java

            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);
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                if ( isConnected() ) {
                    try ( SmbTransportImpl transport = session.getTransport() ) {
                        if ( transport.isDisconnected() || transport.getRemoteHostName() == null ) {
                            /*
                             * Tree/session thinks it is connected but transport disconnected
                             * under it, reset tree to reflect the truth.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
    
        @Override
        public Address getRemoteAddress () {
            return this.address;
        }
    
    
        @Override
        public String getRemoteHostName () {
            return this.tconHostName;
        }
    
    
        /**
         *
         * @return number of sessions on this transport
         */
        public int getNumSessions () {
    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