public class SmbTransportPoolImpl extends Object implements SmbTransportPool
| Constructor and Description |
|---|
SmbTransportPoolImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
close()
Closes the pool and all connections in it
|
boolean |
contains(SmbTransport trans) |
byte[] |
getChallenge(CIFSContext tf,
Address dc)
Get NTLM challenge from a server
|
byte[] |
getChallenge(CIFSContext tf,
Address dc,
int port)
Get NTLM challenge from a server
|
jcifs.smb.SmbTransportImpl |
getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean nonPooled)
Get transport connection
|
jcifs.smb.SmbTransportImpl |
getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean nonPooled,
boolean forceSigning)
Get transport connection
|
jcifs.smb.SmbTransportImpl |
getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean nonPooled)
Get transport connection, with local binding
|
jcifs.smb.SmbTransportImpl |
getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean nonPooled,
boolean forceSigning) |
jcifs.smb.SmbTransportImpl |
getSmbTransport(CIFSContext tf,
String name,
int port,
boolean exclusive,
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)
Deprecated.
|
void |
removeTransport(SmbTransport trans) |
public jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled)
SmbTransportPoolgetSmbTransport in interface SmbTransportPooltc - context to usenonPooled - whether to acquire an unshared connectionpublic jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tc, Address address, int port, boolean nonPooled, boolean forceSigning)
SmbTransportPoolgetSmbTransport in interface SmbTransportPooltc - context to usenonPooled - whether to acquire an unshared connectionforceSigning - whether to enforce SMB signing on this connectionpublic jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean nonPooled)
SmbTransportPoolgetSmbTransport in interface SmbTransportPooltc - context to usenonPooled - whether to acquire an unshared connectionpublic jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean nonPooled, boolean forceSigning)
getSmbTransport in interface SmbTransportPooltc - context to usenonPooled - whether to acquire an unshared connectionforceSigning - whether to enforce SMB signing on this connectionpublic jcifs.smb.SmbTransportImpl getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) throws IOException
getSmbTransport in interface SmbTransportPoolUnknownHostExceptionIOExceptionpublic boolean contains(SmbTransport trans)
trans - public void removeTransport(SmbTransport trans)
removeTransport in interface SmbTransportPoolpublic boolean close()
throws CIFSException
close in interface SmbTransportPoolCIFSExceptionSmbTransportPool.close()public byte[] getChallenge(CIFSContext tf, Address dc) throws SmbException
SmbTransportPoolgetChallenge in interface SmbTransportPoolSmbExceptionpublic byte[] getChallenge(CIFSContext tf, Address dc, int port) throws SmbException
SmbTransportPoolgetChallenge in interface SmbTransportPoolSmbExceptionpublic void logon(CIFSContext tf, Address dc) throws SmbException
SmbTransportPoolSee also the jcifs.smb.client.logonShare property.
logon in interface SmbTransportPoolSmbException@Deprecated public void logon(CIFSContext tf, Address dc, int port) throws SmbException
SmbTransportPoolSee also the jcifs.smb.client.logonShare property.
logon in interface SmbTransportPoolSmbExceptionCopyright © 2023. All rights reserved.