public class SMB2TreeConnectResponse extends SMB2Packet
TODO
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize| Constructor and Description |
|---|
SMB2TreeConnectResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<SMB2ShareCapabilities> |
getCapabilities() |
java.util.Set<AccessMask> |
getMaximalAccess() |
long |
getShareFlags() |
boolean |
isDiskShare()
Whether the ShareType returned is SMB2_SHARE_TYPE_DISK (0x01)
|
boolean |
isNamedPipe()
Whether the ShareType returned is SMB2_SHARE_TYPE_PIPE (0x02)
|
boolean |
isPrinterShare()
Whether the ShareType returned is SMB2_SHARE_TYPE_PRINT (0x03)
|
protected void |
readMessage(SMBBuffer buffer)
Read the packet body, this should be implemented by the various packet types.
|
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getMessageEndPos, getMessageStartPos, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, toString, write, writeToprotected void readMessage(SMBBuffer buffer) throws Buffer.BufferException
SMB2PacketreadMessage in class SMB2PacketBuffer.BufferExceptionpublic boolean isDiskShare()
public boolean isNamedPipe()
public boolean isPrinterShare()
public long getShareFlags()
public java.util.Set<SMB2ShareCapabilities> getCapabilities()
public java.util.Set<AccessMask> getMaximalAccess()