Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SmbSessionImpl (0.12 sec)

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

    import jcifs.internal.smb2.session.Smb2SessionSetupResponse;
    import jcifs.util.Hexdump;
    
    
    /**
     *
     */
    final class SmbSessionImpl implements SmbSessionInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbSessionImpl.class);
    
        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getNegotiateResponse().getSendBufferSize();
            }
        }
    
    
        @Override
        public int getReceiveBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

         * 2 - connected
         * 3 - disconnecting
         */
        private final AtomicInteger connectionState = new AtomicInteger();
    
        private final String share;
        private final String service0;
        private final SmbSessionImpl session;
    
        private volatile int tid = -1;
        private volatile String service = "?????";
        private volatile boolean inDfs, inDomainDfs;
        private volatile long treeNum; // used by SmbFile.isOpen
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                log.warn("Tree connection was not properly released " + this);
            }
        }
    
    
        synchronized void disconnect ( boolean inError ) {
            try ( SmbSessionImpl session = getSession() ) {
                if ( session == null ) {
                    return;
                }
                try ( SmbTransportImpl transport = session.getTransport() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

         */
        @Override
        public SmbSessionImpl getSmbSession ( CIFSContext tf ) {
            return getSmbSession(tf, null, null);
        }
    
    
        /**
         *
         * @param tf
         *            context to use
         * @return a session for the context
         */
        @Override
        @SuppressWarnings ( "resource" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         * @see jcifs.smb.SmbPipeHandleInternal#getSessionKey()
         */
        @Override
        public byte[] getSessionKey () throws CIFSException {
            try ( SmbTreeHandleImpl th = ensureTreeConnected();
                  SmbSessionImpl sess = th.getSession() ) {
                return sess.getSessionKey();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                }
            }
    
            SmbTreeConnection treeConn = SmbTreeConnection.create(tc);
            try ( SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                  SmbSessionImpl session = th.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                try {
                    entries = doMsrpcShareEnum(tc, locator, transport.getRemoteAddress());
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
Back to top