Class SMB2TreeConnectRequest
java.lang.Object
com.hierynomus.smb.SMBPacket<SMB2PacketData, SMB2PacketHeader>
com.hierynomus.mssmb2.SMB2Packet
com.hierynomus.mssmb2.messages.SMB2TreeConnectRequest
[MS-SMB2].pdf 2.2.9 SMB2 TREE_CONNECT Request
-
Field Summary
FieldsFields inherited from class SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize -
Constructor Summary
ConstructorsConstructorDescriptionSMB2TreeConnectRequest(SMB2Dialect dialect, SmbPath smbPath, long sessionId) -
Method Summary
Modifier and TypeMethodDescriptionNeeded for DFS resolutionprivate voidvoidsetSmbPath(SmbPath smbPath) Needed for DFS resolutionprotected voidWrite the message fields into the buffer, as specified in the [MS-SMB2] specification.Methods inherited from class SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, readMessage, setCreditsAssigned, setError, toString, write
-
Field Details
-
dialect
-
isClusterReconnect
private boolean isClusterReconnect -
smbPath
-
-
Constructor Details
-
SMB2TreeConnectRequest
-
-
Method Details
-
writeTo
Description copied from class:SMB2PacketWrite the message fields into the buffer, as specified in the [MS-SMB2] specification.- Overrides:
writeToin classSMB2Packet- Parameters:
buffer-
-
putFlags
-
getSmbPath
-
setSmbPath
Needed for DFS resolution- Parameters:
smbPath- The resolved SMB Path
-