Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getTransport (0.16 sec)

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

                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getNegotiateResponse().getSendBufferSize();
            }
        }
    
    
        @Override
        public int getReceiveBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
    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/smb/SmbTreeConnection.java

            try ( SmbSessionImpl session = getSession() ) {
                if ( session == null ) {
                    return;
                }
                try ( SmbTransportImpl transport = session.getTransport() ) {
                    synchronized ( transport ) {
                        SmbTreeImpl t = getTreeInternal();
                        if ( t != null ) {
                            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

            if ( this.connectionState.get() == 2 ) {
                // we are connected, so we know
                return isDfs();
            }
            try ( SmbTransportImpl transport = this.session.getTransport() ) {
                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    
    
        /**
         * @return the session this tree is connected in
         */
    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/test/java/jcifs/tests/SessionTest.java

                  SmbSessionInternal sess2 = th2.getSession().unwrap(SmbSessionInternal.class);
                  SmbTransport t1 = sess1.getTransport();
                  SmbTransport t2 = sess2.getTransport() ) {
    
                Assert.assertEquals(t1, t2);
            }
    
        }
    
    
        // this test is meant to test server-side session invalidation behavior
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response, Set<RequestParam> params )
                throws CIFSException {
            try ( SmbTransportImpl trans = getTransport() ) {
                if ( response != null ) {
                    response.clearReceived();
                    response.setExtendedSecurity(this.extendedSecurity);
                }
    
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionInternal.java

         * @throws CIFSException
         */
        byte[] getSessionKey () throws CIFSException;
    
    
        /**
         * 
         * @return the transport for this session
         */
        SmbTransport getTransport ();
    
    
        /**
         * Connect to the logon share
         * 
         * @throws SmbException
         */
        void treeConnectLogon () throws SmbException;
    
    
        /**
         * @param share
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            try ( SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                  SmbSessionImpl session = th.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                try {
                    entries = doMsrpcShareEnum(tc, locator, transport.getRemoteAddress());
                }
                catch ( IOException ioe ) {
                    if ( th.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TimeoutTest.java

                          SmbSessionInternal session = th.getSession().unwrap(SmbSessionInternal.class);
                          SmbTransportInternal trans = session.getTransport().unwrap(SmbTransportInternal.class) ) {
                        t = trans;
                    }
                    f.close();
    
                    Thread.sleep(2 * soTimeout);
    
    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/smb/SmbTransportImpl.java

            }
    
            try ( SmbSessionImpl sess = getSmbSession(ctx, targetHost, targetDomain);
                  SmbTransportImpl transport = sess.getTransport();
                  SmbTreeImpl ipc = sess.getSmbTree("IPC$", null) ) {
    
                DfsReferralRequestBuffer dfsReq = new DfsReferralRequestBuffer(path, 3);
                DfsReferralResponseBuffer dfsResp;
    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