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()
SmbTree
getSmbTree(String share, String service)
SmbTransport
getTransport()
boolean
isInUse()
void
reauthenticate()
Initiate reauthenticationvoid
treeConnectLogon()
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 SmbException
Connect to the logon share- Throws:
SmbException
-
getSmbTree
SmbTree getSmbTree(String share, String service)
- Parameters:
share
-service
-- Returns:
- tree instance
-
reauthenticate
void reauthenticate() throws CIFSException
Initiate reauthentication- Throws:
CIFSException
-
-