パッケージ jcifs.smb
インタフェース SmbTransportInternal
-
- すべてのスーパーインタフェース:
AutoCloseable,SmbTransport
public interface SmbTransportInternal extends SmbTransport
- 作成者:
- mbechler
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 booleandisconnect(boolean hard, boolean inuse)booleanensureConnected()DfsReferralDatagetDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn)intgetInflightRequests()byte[]getServerEncryptionKey()SmbSessiongetSmbSession(CIFSContext ctx)SmbSessiongetSmbSession(CIFSContext tf, String targetHost, String targetDomain)booleanhasCapability(int cap)booleanisDisconnected()booleanisSigningEnforced()booleanisSigningOptional()booleanisSMB2()-
インタフェースから継承されたメソッド jcifs.SmbTransport
close, getContext, getRemoteAddress, getRemoteHostName, unwrap
-
-
-
-
メソッドの詳細
-
hasCapability
boolean hasCapability(int cap) throws SmbException- パラメータ:
cap-- 戻り値:
- whether the transport has the given capability
- 例外:
SmbException
-
isDisconnected
boolean isDisconnected()
- 戻り値:
- whether the transport has been disconnected
-
disconnect
boolean disconnect(boolean hard, boolean inuse) throws IOException- パラメータ:
hard-inuse-- 戻り値:
- whether the connection was in use
- 例外:
IOException
-
ensureConnected
boolean ensureConnected() throws IOException- 戻り値:
- whether the transport was connected
- 例外:
SmbExceptionIOException
-
getDfsReferrals
DfsReferralData getDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn) throws CIFSException
- パラメータ:
ctx-name-targetHost-targetDomain-rn-- 戻り値:
- dfs referral
- 例外:
SmbExceptionCIFSException
-
isSigningOptional
boolean isSigningOptional() throws SmbException- 戻り値:
- whether signatures are supported but not required
- 例外:
SmbException
-
isSigningEnforced
boolean isSigningEnforced() throws SmbException- 戻り値:
- whether signatures are enforced from either side
- 例外:
SmbException
-
getServerEncryptionKey
byte[] getServerEncryptionKey()
- 戻り値:
- the encryption key used by the server
-
getSmbSession
SmbSession getSmbSession(CIFSContext ctx)
- パラメータ:
ctx-- 戻り値:
- session
-
getSmbSession
SmbSession getSmbSession(CIFSContext tf, String targetHost, String targetDomain)
- パラメータ:
tf-targetHost-targetDomain-- 戻り値:
- session
-
isSMB2
boolean isSMB2() throws SmbException- 戻り値:
- whether this is a SMB2 connection
- 例外:
SmbException
-
getInflightRequests
int getInflightRequests()
- 戻り値:
- number of inflight requests
-
-