パッケージ jcifs.smb
インタフェース SmbTransportInternal
-
- すべてのスーパーインタフェース:
AutoCloseable
,SmbTransport
public interface SmbTransportInternal extends SmbTransport
- 作成者:
- mbechler
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 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
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
- 例外:
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
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
-
-