public interface SmbTransportPool
| Modifier and Type | Method and Description |
|---|---|
boolean |
close()
Closes the pool and all connections in it
|
byte[] |
getChallenge(CIFSContext tc,
Address dc)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
byte[] |
getChallenge(CIFSContext tc,
Address dc,
int port)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
SmbTransport |
getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean exclusive)
Get transport connection
|
SmbTransport |
getSmbTransport(CIFSContext tc,
Address address,
int port,
boolean exclusive,
boolean forceSigning)
Get transport connection
|
SmbTransport |
getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean exclusive)
Get transport connection, with local binding
|
SmbTransport |
getSmbTransport(CIFSContext tc,
Address address,
int port,
InetAddress localAddr,
int localPort,
String hostName,
boolean exclusive,
boolean forceSigning) |
SmbTransport |
getSmbTransport(CIFSContext tf,
String name,
int port,
boolean exclusive,
boolean forceSigning) |
void |
logon(CIFSContext tc,
Address dc)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
void |
logon(CIFSContext tc,
Address dc,
int port)
Deprecated.
functionality is broken and will be removed at some point,
use actual Active Directory authentication instead
|
void |
removeTransport(SmbTransport trans) |
SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) throws UnknownHostException, IOException
tf - name - port - exclusive - forceSigning - UnknownHostExceptionIOExceptionSmbTransport getSmbTransport(CIFSContext tc, Address address, int port, boolean exclusive)
tc - context to useaddress - port - exclusive - whether to acquire an unshared connectionSmbTransport getSmbTransport(CIFSContext tc, Address address, int port, boolean exclusive, boolean forceSigning)
tc - context to useaddress - port - exclusive - whether to acquire an unshared connectionforceSigning - whether to enforce SMB signing on this connectionSmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean exclusive)
tc - context to useaddress - port - localAddr - localPort - hostName - exclusive - whether to acquire an unshared connectionSmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean exclusive, boolean forceSigning)
tc - context to useaddress - port - localAddr - localPort - hostName - exclusive - whether to acquire an unshared connectionforceSigning - whether to enforce SMB signing on this connectionvoid removeTransport(SmbTransport trans)
trans - boolean close()
throws CIFSException
CIFSException@Deprecated void logon(CIFSContext tc, Address dc) throws CIFSException
See also the jcifs.smb.client.logonShare property.
dc - tc - CIFSException@Deprecated void logon(CIFSContext tc, Address dc, int port) throws CIFSException
See also the jcifs.smb.client.logonShare property.
dc - port - tc - CIFSException@Deprecated byte[] getChallenge(CIFSContext tc, Address dc) throws CIFSException
dc - tc - CIFSException@Deprecated byte[] getChallenge(CIFSContext tc, Address dc, int port) throws CIFSException
dc - port - tc - CIFSExceptionCopyright © 2021. All rights reserved.