Package jcifs.smb
Interface SmbSessionInternal
-
- All Superinterfaces:
AutoCloseable,SmbSession
public interface SmbSessionInternal extends SmbSession
- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getSessionKey()SmbTreegetSmbTree(String share, String service)SmbTransportgetTransport()booleanisInUse()voidreauthenticate()Initiate reauthenticationvoidtreeConnectLogon()Connect to the logon share-
Methods inherited from interface jcifs.SmbSession
close, getConfig, getContext, unwrap
-
-
-
-
Method Detail
-
isInUse
boolean isInUse()
- Returns:
- whether the session is in use
-
getSessionKey
byte[] getSessionKey() throws CIFSException- Returns:
- the current session key
- Throws:
CIFSException
-
getTransport
SmbTransport getTransport()
- Returns:
- the transport for this session
-
treeConnectLogon
void treeConnectLogon() throws SmbExceptionConnect to the logon share- Throws:
SmbException
-
getSmbTree
SmbTree getSmbTree(String share, String service)
- Parameters:
share-service-- Returns:
- tree instance
-
reauthenticate
void reauthenticate() throws CIFSExceptionInitiate reauthentication- Throws:
CIFSException
-
-