パッケージ jcifs.smb
クラス SmbTransportPoolImpl
- java.lang.Object
-
- jcifs.smb.SmbTransportPoolImpl
-
- すべての実装されたインタフェース:
SmbTransportPool
public class SmbTransportPoolImpl extends Object implements SmbTransportPool
- 作成者:
- mbechler
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 SmbTransportPoolImpl()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
close()
Closes the pool and all connections in itboolean
contains(SmbTransport trans)
byte[]
getChallenge(CIFSContext tf, Address dc)
Get NTLM challenge from a serverbyte[]
getChallenge(CIFSContext tf, Address dc, int port)
Get NTLM challenge from a serverjcifs.smb.SmbTransportImpl
getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning)
jcifs.smb.SmbTransportImpl
getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled)
Get transport connectionjcifs.smb.SmbTransportImpl
getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled, boolean forceSigning)
Get transport connectionjcifs.smb.SmbTransportImpl
getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean nonPooled)
Get transport connection, with local bindingjcifs.smb.SmbTransportImpl
getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean nonPooled, boolean forceSigning)
void
logon(CIFSContext tf, Address dc)
Authenticate arbitrary credentials represented by the NtlmPasswordAuthentication object against the domain controller specified by the UniAddress parameter.void
logon(CIFSContext tf, Address dc, int port)
Authenticate arbitrary credentials represented by the NtlmPasswordAuthentication object against the domain controller specified by the UniAddress parameter.void
removeTransport(SmbTransport trans)
-
-
-
メソッドの詳細
-
getSmbTransport
public jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled)
インタフェースからコピーされた説明:SmbTransportPool
Get transport connection- 定義:
getSmbTransport
インタフェース内SmbTransportPool
- パラメータ:
tc
- context to usenonPooled
- 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 usenonPooled
- whether to acquire an unshared connectionforceSigning
- 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 usenonPooled
- 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 usenonPooled
- whether to acquire an unshared connectionforceSigning
- whether to enforce SMB signing on this connection- 戻り値:
- a transport connection to the target
-
getSmbTransport
public jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) throws IOException
- 定義:
getSmbTransport
インタフェース内SmbTransportPool
- 戻り値:
- a connected transport
- 例外:
UnknownHostException
IOException
-
contains
public boolean contains(SmbTransport trans)
- パラメータ:
trans
-- 戻り値:
- whether (non-exclusive) connection is in the pool
-
removeTransport
public void removeTransport(SmbTransport trans)
- 定義:
removeTransport
インタフェース内SmbTransportPool
-
close
public boolean close() throws CIFSException
Closes the pool and all connections in it- 定義:
close
インタフェース内SmbTransportPool
- 戻り値:
- whether any transport was still in use
- 例外:
CIFSException
- 関連項目:
SmbTransportPool.close()
-
getChallenge
public byte[] getChallenge(CIFSContext tf, Address dc) throws SmbException
インタフェースからコピーされた説明:SmbTransportPool
Get NTLM challenge from a server- 定義:
getChallenge
インタフェース内SmbTransportPool
- 戻り値:
- NTLM challenge
- 例外:
SmbException
-
getChallenge
public byte[] getChallenge(CIFSContext tf, Address dc, int port) throws SmbException
インタフェースからコピーされた説明:SmbTransportPool
Get NTLM challenge from a server- 定義:
getChallenge
インタフェース内SmbTransportPool
- 戻り値:
- NTLM challenge
- 例外:
SmbException
-
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
-
-