Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for getRemoteHostName (0.19 seconds)

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

            return getContext().getConfig().getResponseTimeout();
        }
    
        @Override
        public Address getRemoteAddress() {
            return this.address;
        }
    
        @Override
        public String getRemoteHostName() {
            return this.tconHostName;
        }
    
        /**
         *
         * @return number of sessions on this transport
         */
        public int getNumSessions() {
            return this.sessions.size();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            when(tree.acquire(false)).thenReturn(tree);
            when(session.getTransport()).thenReturn(transport);
            when(transport.isDisconnected()).thenReturn(false);
            when(transport.getRemoteHostName()).thenReturn("host");
            setTree(c, tree);
    
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://host/share/"));
            SmbTreeHandle h = c.connect(loc);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. 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.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
Back to Top