Package jcifs.smb

Interface SmbTransportInternal

    • Method Detail

      • hasCapability

        boolean hasCapability​(int cap)
                       throws SmbException
        Parameters:
        cap -
        Returns:
        whether the transport has the given capability
        Throws:
        SmbException
      • isDisconnected

        boolean isDisconnected()
        Returns:
        whether the transport has been disconnected
      • disconnect

        boolean disconnect​(boolean hard,
                           boolean inuse)
                    throws IOException
        Parameters:
        hard -
        inuse -
        Returns:
        whether the connection was in use
        Throws:
        IOException
      • isSigningOptional

        boolean isSigningOptional()
                           throws SmbException
        Returns:
        whether signatures are supported but not required
        Throws:
        SmbException
      • isSigningEnforced

        boolean isSigningEnforced()
                           throws SmbException
        Returns:
        whether signatures are enforced from either side
        Throws:
        SmbException
      • getServerEncryptionKey

        byte[] getServerEncryptionKey()
        Returns:
        the encryption key used by the server
      • getSmbSession

        SmbSession getSmbSession​(CIFSContext tf,
                                 String targetHost,
                                 String targetDomain)
        Parameters:
        tf -
        targetHost -
        targetDomain -
        Returns:
        session
      • getInflightRequests

        int getInflightRequests()
        Returns:
        number of inflight requests