パッケージ jcifs.smb

インタフェース SmbTransportInternal

    • メソッドの詳細

      • hasCapability

        boolean hasCapability​(int cap)
                       throws SmbException
        パラメータ:
        cap -
        戻り値:
        whether the transport has the given capability
        例外:
        SmbException
      • isDisconnected

        boolean isDisconnected()
        戻り値:
        whether the transport has been disconnected
      • disconnect

        boolean disconnect​(boolean hard,
                           boolean inuse)
                    throws IOException
        パラメータ:
        hard -
        inuse -
        戻り値:
        whether the connection was in use
        例外:
        IOException
      • isSigningOptional

        boolean isSigningOptional()
                           throws SmbException
        戻り値:
        whether signatures are supported but not required
        例外:
        SmbException
      • isSigningEnforced

        boolean isSigningEnforced()
                           throws SmbException
        戻り値:
        whether signatures are enforced from either side
        例外:
        SmbException
      • getServerEncryptionKey

        byte[] getServerEncryptionKey()
        戻り値:
        the encryption key used by the server
      • getSmbSession

        SmbSession getSmbSession​(CIFSContext tf,
                                 String targetHost,
                                 String targetDomain)
        パラメータ:
        tf -
        targetHost -
        targetDomain -
        戻り値:
        session
      • getInflightRequests

        int getInflightRequests()
        戻り値:
        number of inflight requests