public class SMB2Header
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STRUCTURE_SIZE |
| Constructor and Description |
|---|
SMB2Header() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAsyncId() |
int |
getCreditResponse() |
long |
getFlags() |
SMB2MessageCommandCode |
getMessage() |
long |
getMessageId() |
long |
getNextCommandOffset() |
long |
getSessionId() |
NtStatus |
getStatus() |
long |
getStatusCode() |
long |
getTreeId() |
void |
readFrom(Buffer<?> buffer) |
void |
setCreditCharge(int creditCharge) |
void |
setCreditRequest(int creditRequest) |
void |
setDialect(SMB2Dialect dialect) |
void |
setFlag(SMB2MessageFlag flag) |
void |
setFlags(long flags) |
void |
setMessageId(long messageId) |
void |
setNextCommandOffset(long nextCommandOffset) |
void |
setSessionId(long sessionId) |
void |
setTreeId(long treeId) |
void |
writeTo(SMBBuffer buffer) |
public static final int STRUCTURE_SIZE
public void writeTo(SMBBuffer buffer)
public void setMessageId(long messageId)
public SMB2MessageCommandCode getMessage()
public long getTreeId()
public void setTreeId(long treeId)
public long getSessionId()
public void setSessionId(long sessionId)
public void setDialect(SMB2Dialect dialect)
public void setFlag(SMB2MessageFlag flag)
public long getMessageId()
public void setCreditRequest(int creditRequest)
public int getCreditResponse()
public long getAsyncId()
public void readFrom(Buffer<?> buffer) throws Buffer.BufferException
Buffer.BufferExceptionpublic NtStatus getStatus()
public long getStatusCode()
public long getFlags()
public void setFlags(long flags)
public long getNextCommandOffset()
public void setNextCommandOffset(long nextCommandOffset)
public void setCreditCharge(int creditCharge)