Class SMB2TreeConnectResponse
java.lang.Object
com.hierynomus.smb.SMBPacket<SMB2PacketData, SMB2PacketHeader>
com.hierynomus.mssmb2.SMB2Packet
com.hierynomus.mssmb2.messages.SMB2TreeConnectResponse
[MS-SMB2].pdf 2.2.10 SMB2 TREE_CONNECT Response
TODO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<SMB2ShareCapabilities> private Set<AccessMask> private Set<SMB2ShareFlags> private byteFields inherited from class SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the ShareType returned is SMB2_SHARE_TYPE_DISK (0x01)booleanWhether the ShareType returned is SMB2_SHARE_TYPE_PIPE (0x02)booleanWhether the ShareType returned is SMB2_SHARE_TYPE_PRINT (0x03)protected voidreadMessage(SMBBuffer buffer) Read the packet body, this should be implemented by the various packet types.voidsetCapabilities(Set<SMB2ShareCapabilities> capabilities) voidsetShareFlags(Set<SMB2ShareFlags> shareFlags) voidsetShareType(byte shareType) Methods inherited from class SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, setError, toString, write, writeTo
-
Field Details
-
capabilities
-
maximalAccess
-
Constructor Details
-
SMB2TreeConnectResponse
public SMB2TreeConnectResponse()
-
-
Method Details
-
readMessage
Description copied from class:SMB2PacketRead the packet body, this should be implemented by the various packet types.- Overrides:
readMessagein classSMB2Packet- Parameters:
buffer-- Throws:
Buffer.BufferException
-
isNamedPipe
public boolean isNamedPipe()Whether the ShareType returned is SMB2_SHARE_TYPE_PIPE (0x02)- Returns:
- true if the ShareType returned is SMB2_SHARE_TYPE_PIPE (0x02)
-
getCapabilities
-
setCapabilities
-
getMaximalAccess
-