public abstract class SmbComTransactionResponse extends ServerMessageBlock implements Enumeration<SmbComTransactionResponse>
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| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] buffer,
int bufferIndex)
Decode message data from the given byte array
|
int |
getNumEntries() |
FileEntry[] |
getResults() |
int |
getStatus() |
byte |
getSubCommand() |
boolean |
hasMoreElements() |
SmbComTransactionResponse |
nextElement() |
byte[] |
releaseBuffer() |
void |
reset() |
void |
setBuffer(byte[] buffer) |
void |
setDataCount(int dataCount) |
void |
setSubCommand(byte subCommand) |
String |
toString() |
addFlags2, allowChain, clearReceived, createCancel, encode, equals, error, exception, getByteCount, getCommand, 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, isResponseAsync, isRetainPayload, isUseUnicode, isVerifyFailed, prepare, readString, readString, readString, 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, verifySignaturepublic final void setDataCount(int dataCount)
dataCount - the dataCount to setpublic void setBuffer(byte[] buffer)
buffer - public byte[] releaseBuffer()
public final byte getSubCommand()
public final void setSubCommand(byte subCommand)
subCommand - the subCommand to setpublic final int getStatus()
public final int getNumEntries()
public final FileEntry[] getResults()
public void reset()
reset in interface CommonServerMessageBlockreset in interface Responsereset in class ServerMessageBlockpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<SmbComTransactionResponse>public SmbComTransactionResponse nextElement()
nextElement in interface Enumeration<SmbComTransactionResponse>public int decode(byte[] buffer,
int bufferIndex)
throws SMBProtocolDecodingException
decode in interface CommonServerMessageBlockdecode in class ServerMessageBlockSMBProtocolDecodingExceptionServerMessageBlock.decode(byte[], int)public String toString()
toString in class ServerMessageBlockCopyright © 2018. All rights reserved.