クラス SmbComTransactionResponse
- java.lang.Object
-
- jcifs.internal.smb1.ServerMessageBlock
-
- jcifs.internal.smb1.trans.SmbComTransactionResponse
-
- すべての実装されたインタフェース:
Enumeration<SmbComTransactionResponse>,CommonServerMessageBlock,CommonServerMessageBlockRequest,CommonServerMessageBlockResponse,RequestWithPath,Message,Request,Response
- 直系の既知のサブクラス:
NetServerEnum2Response,NetShareEnumResponse,SmbComNtTransactionResponse,Trans2FindFirst2Response,Trans2GetDfsReferralResponse,Trans2QueryFSInformationResponse,Trans2QueryPathInformationResponse,Trans2SetFileInformationResponse,TransCallNamedPipeResponse,TransPeekNamedPipeResponse,TransTransactNamedPipeResponse,TransWaitNamedPipeResponse
public abstract class SmbComTransactionResponse extends ServerMessageBlock implements Enumeration<SmbComTransactionResponse>
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected intbufDataStartprotected intbufParameterStartprotected intdataDisplacementprotected intdataOffsetprotected intparameterCountprotected intparameterDisplacementprotected intparameterOffsetprotected intsetupCountprotected inttotalDataCountprotected inttotalParameterCount-
クラスから継承されたフィールド 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
-
-
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protectedSmbComTransactionResponse(Configuration config)protectedSmbComTransactionResponse(Configuration config, byte command, byte subcommand)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 intdecode(byte[] buffer, int bufferIndex)Decode message data from the given byte arrayprotected intgetDataCount()intgetNumEntries()FileEntry[]getResults()intgetStatus()bytegetSubCommand()booleanhasMoreElements()SmbComTransactionResponsenextElement()protected intreadBytesWireFormat(byte[] buffer, int bufferIndex)protected abstract intreadDataWireFormat(byte[] buffer, int bufferIndex, int len)protected abstract intreadParametersWireFormat(byte[] buffer, int bufferIndex, int len)protected intreadParameterWordsWireFormat(byte[] buffer, int bufferIndex)protected abstract intreadSetupWireFormat(byte[] buffer, int bufferIndex, int len)byte[]releaseBuffer()voidreset()voidsetBuffer(byte[] buffer)voidsetDataCount(int dataCount)protected voidsetNumEntries(int numEntries)protected voidsetResults(FileEntry[] results)protected voidsetStatus(int status)voidsetSubCommand(byte subCommand)StringtoString()protected intwriteBytesWireFormat(byte[] dst, int dstIndex)protected abstract intwriteDataWireFormat(byte[] dst, int dstIndex)protected abstract intwriteParametersWireFormat(byte[] dst, int dstIndex)protected intwriteParameterWordsWireFormat(byte[] dst, int dstIndex)protected abstract intwriteSetupWireFormat(byte[] dst, int dstIndex)-
クラスから継承されたメソッド jcifs.internal.smb1.ServerMessageBlock
addFlags2, allowChain, clearReceived, createCancel, 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, 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
-
インタフェースから継承されたメソッド java.util.Enumeration
asIterator
-
-
-
-
フィールドの詳細
-
totalParameterCount
protected int totalParameterCount
-
totalDataCount
protected int totalDataCount
-
parameterCount
protected int parameterCount
-
parameterOffset
protected int parameterOffset
-
parameterDisplacement
protected int parameterDisplacement
-
dataOffset
protected int dataOffset
-
dataDisplacement
protected int dataDisplacement
-
setupCount
protected int setupCount
-
bufParameterStart
protected int bufParameterStart
-
bufDataStart
protected int bufDataStart
-
-
コンストラクタの詳細
-
SmbComTransactionResponse
protected SmbComTransactionResponse(Configuration config)
-
SmbComTransactionResponse
protected SmbComTransactionResponse(Configuration config, byte command, byte subcommand)
-
-
メソッドの詳細
-
getDataCount
protected final int getDataCount()
- 戻り値:
- the dataCount
-
setDataCount
public final void setDataCount(int dataCount)
- パラメータ:
dataCount- the dataCount to set
-
setBuffer
public void setBuffer(byte[] buffer)
- パラメータ:
buffer-
-
releaseBuffer
public byte[] releaseBuffer()
- 戻り値:
- the txn_buf
-
getSubCommand
public final byte getSubCommand()
- 戻り値:
- the subCommand
-
setSubCommand
public final void setSubCommand(byte subCommand)
- パラメータ:
subCommand- the subCommand to set
-
getStatus
public final int getStatus()
- 戻り値:
- the status
-
setStatus
protected final void setStatus(int status)
- パラメータ:
status- the status to set
-
getNumEntries
public final int getNumEntries()
- 戻り値:
- the numEntries
-
setNumEntries
protected final void setNumEntries(int numEntries)
- パラメータ:
numEntries- the numEntries to set
-
getResults
public final FileEntry[] getResults()
- 戻り値:
- the results
-
setResults
protected final void setResults(FileEntry[] results)
- パラメータ:
results- the results to set
-
reset
public void reset()
- 定義:
resetインタフェース内CommonServerMessageBlock- 定義:
resetインタフェース内Response- オーバーライド:
resetクラス内ServerMessageBlock
-
hasMoreElements
public boolean hasMoreElements()
- 定義:
hasMoreElementsインタフェース内Enumeration<SmbComTransactionResponse>
-
nextElement
public SmbComTransactionResponse nextElement()
- 定義:
nextElementインタフェース内Enumeration<SmbComTransactionResponse>
-
writeParameterWordsWireFormat
protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex)
-
writeBytesWireFormat
protected int writeBytesWireFormat(byte[] dst, int dstIndex)- 定義:
writeBytesWireFormatクラス内ServerMessageBlock
-
decode
public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingExceptionDecode message data from the given byte array- 定義:
decodeインタフェース内CommonServerMessageBlock- オーバーライド:
decodeクラス内ServerMessageBlock- 戻り値:
- message length
- 例外:
SMBProtocolDecodingException- 関連項目:
ServerMessageBlock.decode(byte[], int)
-
readParameterWordsWireFormat
protected int readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
-
readBytesWireFormat
protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException
-
writeSetupWireFormat
protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex)
-
writeParametersWireFormat
protected abstract int writeParametersWireFormat(byte[] dst, int dstIndex)
-
writeDataWireFormat
protected abstract int writeDataWireFormat(byte[] dst, int dstIndex)
-
readSetupWireFormat
protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
-
readParametersWireFormat
protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException
-
readDataWireFormat
protected abstract int readDataWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException
-
toString
public String toString()
- オーバーライド:
toStringクラス内ServerMessageBlock
-
-