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