Package jcifs.smb
Interface SmbTreeHandleInternal
-
- All Superinterfaces:
AutoCloseable,SmbTreeHandle
public interface SmbTreeHandleInternal extends SmbTreeHandle
- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanareSignaturesActive()voidensureDFSResolved()intgetMaximumBufferSize()intgetReceiveBufferSize()intgetSendBufferSize()SmbSessiongetSession()Internal/testing use onlybooleanhasCapability(int cap)voidrelease()-
Methods inherited from interface jcifs.SmbTreeHandle
close, getConfig, getConnectedShare, getOEMDomainName, getRemoteHostName, getServerTimeZoneOffset, getTreeType, isConnected, isSameTree, isSMB2
-
-
-
-
Method Detail
-
release
void release()
-
ensureDFSResolved
void ensureDFSResolved() throws CIFSException- Throws:
SmbExceptionCIFSException
-
hasCapability
boolean hasCapability(int cap) throws CIFSException- Parameters:
cap-- Returns:
- whether the capabiltiy is present
- Throws:
CIFSException
-
getSendBufferSize
int getSendBufferSize() throws CIFSException- Returns:
- the send buffer size of the underlying connection
- Throws:
CIFSException
-
getReceiveBufferSize
int getReceiveBufferSize() throws CIFSException- Returns:
- the receive buffer size of the underlying connection
- Throws:
CIFSException
-
getMaximumBufferSize
int getMaximumBufferSize() throws CIFSException- Returns:
- the maximum buffer size reported by the server
- Throws:
CIFSException
-
areSignaturesActive
boolean areSignaturesActive() throws CIFSException- Returns:
- whether the session uses SMB signing
- Throws:
CIFSExceptionSmbException
-
getSession
SmbSession getSession()
Internal/testing use only- Returns:
- attached session
-
-