パッケージ jcifs.smb

クラス SmbTransportPoolImpl

    • コンストラクタの詳細

      • SmbTransportPoolImpl

        public SmbTransportPoolImpl()
    • メソッドの詳細

      • getSmbTransport

        public jcifs.smb.SmbTransportImpl getSmbTransport​(CIFSContext tc,
                                                          Address address,
                                                          int port,
                                                          boolean nonPooled)
        インタフェースからコピーされた説明: SmbTransportPool
        Get transport connection
        定義:
        getSmbTransport インタフェース内 SmbTransportPool
        パラメータ:
        tc - context to use
        nonPooled - whether to acquire an unshared connection
        戻り値:
        a transport connection to the target
      • getSmbTransport

        public jcifs.smb.SmbTransportImpl getSmbTransport​(CIFSContext tc,
                                                          Address address,
                                                          int port,
                                                          boolean nonPooled,
                                                          boolean forceSigning)
        インタフェースからコピーされた説明: SmbTransportPool
        Get transport connection
        定義:
        getSmbTransport インタフェース内 SmbTransportPool
        パラメータ:
        tc - context to use
        nonPooled - whether to acquire an unshared connection
        forceSigning - whether to enforce SMB signing on this connection
        戻り値:
        a transport connection to the target
      • getSmbTransport

        public jcifs.smb.SmbTransportImpl getSmbTransport​(CIFSContext tc,
                                                          Address address,
                                                          int port,
                                                          InetAddress localAddr,
                                                          int localPort,
                                                          String hostName,
                                                          boolean nonPooled)
        インタフェースからコピーされた説明: SmbTransportPool
        Get transport connection, with local binding
        定義:
        getSmbTransport インタフェース内 SmbTransportPool
        パラメータ:
        tc - context to use
        nonPooled - whether to acquire an unshared connection
        戻り値:
        a transport connection to the target
      • getSmbTransport

        public jcifs.smb.SmbTransportImpl getSmbTransport​(CIFSContext tc,
                                                          Address address,
                                                          int port,
                                                          InetAddress localAddr,
                                                          int localPort,
                                                          String hostName,
                                                          boolean nonPooled,
                                                          boolean forceSigning)
        定義:
        getSmbTransport インタフェース内 SmbTransportPool
        パラメータ:
        tc - context to use
        nonPooled - whether to acquire an unshared connection
        forceSigning - whether to enforce SMB signing on this connection
        戻り値:
        a transport connection to the target
      • contains

        public boolean contains​(SmbTransport trans)
        パラメータ:
        trans -
        戻り値:
        whether (non-exclusive) connection is in the pool
      • logon

        public void logon​(CIFSContext tf,
                          Address dc)
                   throws SmbException
        インタフェースからコピーされた説明: SmbTransportPool
        Authenticate arbitrary credentials represented by the NtlmPasswordAuthentication object against the domain controller specified by the UniAddress parameter. If the credentials are not accepted, an SmbAuthException will be thrown. If an error occurs an SmbException will be thrown. If the credentials are valid, the method will return without throwing an exception. See the last FAQ question.

        See also the jcifs.smb.client.logonShare property.

        定義:
        logon インタフェース内 SmbTransportPool
        例外:
        SmbException
      • logon

        public void logon​(CIFSContext tf,
                          Address dc,
                          int port)
                   throws SmbException
        インタフェースからコピーされた説明: SmbTransportPool
        Authenticate arbitrary credentials represented by the NtlmPasswordAuthentication object against the domain controller specified by the UniAddress parameter. If the credentials are not accepted, an SmbAuthException will be thrown. If an error occurs an SmbException will be thrown. If the credentials are valid, the method will return without throwing an exception. See the last FAQ question.

        See also the jcifs.smb.client.logonShare property.

        定義:
        logon インタフェース内 SmbTransportPool
        例外:
        SmbException