パッケージ jcifs.internal.smb1.com
クラス SmbComNegotiateResponse
- java.lang.Object
-
- jcifs.internal.smb1.ServerMessageBlock
-
- jcifs.internal.smb1.com.SmbComNegotiateResponse
-
- すべての実装されたインタフェース:
CommonServerMessageBlock
,CommonServerMessageBlockRequest
,CommonServerMessageBlockResponse
,RequestWithPath
,SmbNegotiationResponse
,Message
,Request
,Response
public class SmbComNegotiateResponse extends ServerMessageBlock implements SmbNegotiationResponse
-
-
フィールドの概要
-
クラスから継承されたフィールド jcifs.internal.smb1.ServerMessageBlock
batchLevel, byteCount, digest, errorCode, flags2, headerStart, length, mid, path, pid, SMB_COM_CHECK_DIRECTORY, SMB_COM_CLOSE, SMB_COM_CREATE_DIRECTORY, SMB_COM_DELETE, SMB_COM_DELETE_DIRECTORY, SMB_COM_ECHO, SMB_COM_FIND_CLOSE2, SMB_COM_LOCKING_ANDX, SMB_COM_LOGOFF_ANDX, SMB_COM_MOVE, SMB_COM_NEGOTIATE, SMB_COM_NT_CANCEL, SMB_COM_NT_CREATE_ANDX, SMB_COM_NT_TRANSACT, SMB_COM_NT_TRANSACT_SECONDARY, SMB_COM_OPEN_ANDX, SMB_COM_QUERY_INFORMATION, SMB_COM_READ_ANDX, SMB_COM_RENAME, SMB_COM_SEEK, SMB_COM_SESSION_SETUP_ANDX, SMB_COM_SET_INFORMATION, SMB_COM_TRANSACTION, SMB_COM_TRANSACTION_SECONDARY, SMB_COM_TRANSACTION2, SMB_COM_TREE_CONNECT_ANDX, SMB_COM_TREE_DISCONNECT, SMB_COM_WRITE, SMB_COM_WRITE_ANDX, tid, uid, wordCount
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 SmbComNegotiateResponse(CIFSContext ctx)
-
メソッドの概要
-
クラスから継承されたメソッド jcifs.internal.smb1.ServerMessageBlock
addFlags2, allowChain, clearReceived, createCancel, decode, encode, equals, error, exception, getByteCount, getCommand, getConfig, getCreditCost, getDigest, getDomain, getErrorCode, getException, getExpiration, getFlags, getFlags2, getFullUNCPath, getGrantedCredits, getLength, getMid, getNext, getNextResponse, getOverrideTimeout, getPath, getPid, getRawPayload, getResponse, getServer, getSignSeq, getTid, getUid, hashCode, ignoreDisconnect, isAsync, isCancel, isError, isExtendedSecurity, isForceUnicode, isReceived, isResolveInDfs, isResponse, isResponseAsync, isRetainPayload, isUseUnicode, isVerifyFailed, prepare, readHeaderWireFormat, readString, readString, readString, readStringLength, received, remFlags2, reset, retainPayload, setCommand, setDigest, setErrorCode, setExpiration, setExtendedSecurity, setFlags, setFlags2, setFullUNCPath, setMid, setOverrideTimeout, setPath, setPid, setRawPayload, setRequestCredits, setResolveInDfs, setResponse, setSessionId, setSignSeq, setTid, setUid, setUseUnicode, size, split, stringWireLength, verifySignature, writeHeaderWireFormat, writeString, writeString
-
インタフェースから継承されたメソッド jcifs.internal.CommonServerMessageBlock
decode, encode, getCommand, getDigest, getMid, getResponse, reset, setCommand, setDigest, setExtendedSecurity, setMid, setResponse, setSessionId, setUid
-
インタフェースから継承されたメソッド jcifs.util.transport.Message
getRawPayload, isRetainPayload, retainPayload, setRawPayload
-
インタフェースから継承されたメソッド jcifs.util.transport.Response
clearReceived, error, exception, getErrorCode, getException, getExpiration, getGrantedCredits, getMid, isError, isReceived, isVerifyFailed, received, reset, setExpiration, setMid, verifySignature
-
-
-
-
コンストラクタの詳細
-
SmbComNegotiateResponse
public SmbComNegotiateResponse(CIFSContext ctx)
- パラメータ:
ctx
-
-
-
メソッドの詳細
-
getSelectedDialect
public DialectVersion getSelectedDialect()
- 定義:
getSelectedDialect
インタフェース内SmbNegotiationResponse
- 戻り値:
- selected dialect
- 関連項目:
SmbNegotiationResponse.getSelectedDialect()
-
getTransactionBufferSize
public int getTransactionBufferSize()
- 定義:
getTransactionBufferSize
インタフェース内SmbNegotiationResponse
- 戻り値:
- the transaction buffer size
- 関連項目:
SmbNegotiationResponse.getTransactionBufferSize()
-
getInitialCredits
public int getInitialCredits()
- 定義:
getInitialCredits
インタフェース内SmbNegotiationResponse
- 戻り値:
- number of initial credits the server grants
- 関連項目:
SmbNegotiationResponse.getInitialCredits()
-
canReuse
public boolean canReuse(CIFSContext tc, boolean forceSigning)
- 定義:
canReuse
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether a connection can be reused for this config
- 関連項目:
SmbNegotiationResponse.canReuse(jcifs.CIFSContext, boolean)
-
getDialectIndex
public int getDialectIndex()
- 戻り値:
- the dialectIndex
-
getNegotiatedCapabilities
public int getNegotiatedCapabilities()
- 戻り値:
- the negotiated capbilities
-
getNegotiatedSendBufferSize
public int getNegotiatedSendBufferSize()
- 戻り値:
- negotiated send buffer size
-
getNegotiatedMpxCount
public int getNegotiatedMpxCount()
- 戻り値:
- negotiated multiplex count
-
getNegotiatedSessionKey
public int getNegotiatedSessionKey()
- 戻り値:
- negotiated session key
-
getReceiveBufferSize
public int getReceiveBufferSize()
- 定義:
getReceiveBufferSize
インタフェース内SmbNegotiationResponse
- 戻り値:
- the receive buffer size
- 関連項目:
SmbNegotiationResponse.getReceiveBufferSize()
-
getSendBufferSize
public int getSendBufferSize()
- 定義:
getSendBufferSize
インタフェース内SmbNegotiationResponse
- 戻り値:
- the send buffer size
- 関連項目:
SmbNegotiationResponse.getSendBufferSize()
-
getNegotiatedFlags2
public int getNegotiatedFlags2()
- 戻り値:
- negotiated flags2
-
haveCapabilitiy
public boolean haveCapabilitiy(int cap)
- 定義:
haveCapabilitiy
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether capability is negotiated
- 関連項目:
SmbNegotiationResponse.haveCapabilitiy(int)
-
isDFSSupported
public boolean isDFSSupported()
- 定義:
isDFSSupported
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether the server supports DFS
- 関連項目:
SmbNegotiationResponse.isDFSSupported()
-
isSigningNegotiated
public boolean isSigningNegotiated()
- 定義:
isSigningNegotiated
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether signing has been negotiated
- 関連項目:
SmbNegotiationResponse.isSigningNegotiated()
-
isValid
public boolean isValid(CIFSContext ctx, SmbNegotiationRequest req)
- 定義:
isValid
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether the protocol negotiation was successful
-
setupRequest
public void setupRequest(CommonServerMessageBlock request)
-
setupResponse
public void setupResponse(Response resp)
-
isSigningEnabled
public boolean isSigningEnabled()
- 定義:
isSigningEnabled
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether the server has singing enabled
- 関連項目:
SmbNegotiationResponse.isSigningEnabled()
-
isSigningRequired
public boolean isSigningRequired()
- 定義:
isSigningRequired
インタフェース内SmbNegotiationResponse
- 戻り値:
- whether the server requires signing
- 関連項目:
SmbNegotiationResponse.isSigningRequired()
-
getServerData
public ServerData getServerData()
- 戻り値:
- the server
-
writeParameterWordsWireFormat
protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex)
-
writeBytesWireFormat
protected int writeBytesWireFormat(byte[] dst, int dstIndex)
- 定義:
writeBytesWireFormat
クラス内ServerMessageBlock
-
readParameterWordsWireFormat
protected int readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
-
readBytesWireFormat
protected int readBytesWireFormat(byte[] buffer, int bufferIndex)
- 定義:
readBytesWireFormat
クラス内ServerMessageBlock
-
toString
public String toString()
- オーバーライド:
toString
クラス内ServerMessageBlock
-
-